Home > LIB_Classification > getIndexByName
LIB_Classification.getIndexByName() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
获取指定名称的分类的分类索引
Signature
typescript
getIndexByName(libraryUuid: string, libraryType: ELIB_LibraryType, primaryClassificationName: string, secondaryClassificationName?: string): Promise<ILIB_ClassificationIndex | undefined>;
1
Parameters
Parameter | Type | Description |
---|---|---|
libraryUuid | string | 库 UUID |
libraryType | 库类型 | |
primaryClassificationName | string | 一级分类名称 |
secondaryClassificationName | string | (Optional) 二级分类名称 |
Returns
Promise<ILIB_ClassificationIndex | undefined>
分类索引
Remarks
分类索引内包含分类的 UUID,具体可查阅 ILIB_ClassificationIndex