Home > LIB_Symbol > search
LIB_Symbol.search() 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
search(key: string, libraryUuid?: string, classification?: ILIB_ClassificationIndex, symbolType?: ELIB_SymbolType, itemsOfPage?: number, page?: number): Promise<Array<ILIB_SymbolSearchItem>>;
1
Parameters
Parameter | Type | Description |
---|---|---|
key | string | 搜索关键字 |
libraryUuid | string | (Optional) 库 UUID,默认为系统库,可以使用 LIB_LibrariesList 内的接口获取 |
classification | (Optional) 分类,默认为全部 | |
symbolType | (Optional) 符号类型,默认为全部 | |
itemsOfPage | number | (Optional) 一页搜索结果的数量 |
page | number | (Optional) 页数 |
Returns
Promise<Array<ILIB_SymbolSearchItem>>
搜索到的符号属性列表