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
public getNameByIndex(classificationIndex: ILIB_ClassificationIndex): Promise<{ primaryClassificationName: string; secondaryClassificationName?: undefined | string } | undefined>;1
Parameters
Parameter | Type | Description |
|---|---|---|
classificationIndex | 分类索引 |
Returns
Promise<{ primaryClassificationName: string; secondaryClassificationName?: undefined | string } | undefined>
两级分类的名称