Home > LIB_Classification > getNameByIndex
LIB_Classification.getNameByIndex() 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.
Warning: This API is now obsolete.
- since EDA v3.2; dropped EDA v3.3
获取指定索引的分类的名称
Signature
typescript
getNameByIndex(classificationIndex: ILIB_ClassificationIndex): Promise<{
primaryClassificationName: string;
secondaryClassificationName?: string | undefined;
} | undefined>;1
2
3
4
2
3
4
Parameters
Parameter | Type | Description |
|---|---|---|
classificationIndex | 分类索引 |
Returns
Promise<{ primaryClassificationName: string; secondaryClassificationName?: string | undefined; } | undefined>
两级分类的名称