ExtensionQuery interface
An ExtensionQuery is used to search the gallery for a set of extensions that match one of many filter values.
Properties
asset |
When retrieving extensions with a query; frequently the caller only needs a small subset of the assets. The caller may specify a list of asset types that should be returned if the extension contains it. All other assets will not be returned. |
filters | Each filter is a unique query and will have matching set of extensions returned from the request. Each result will have the same index in the resulting array that the filter had in the incoming query. |
flags | The Flags are used to determine which set of information the caller would like returned for the matched extensions. |
Property Details
assetTypes
When retrieving extensions with a query; frequently the caller only needs a small subset of the assets. The caller may specify a list of asset types that should be returned if the extension contains it. All other assets will not be returned.
assetTypes: string[]
Property Value
string[]
filters
Each filter is a unique query and will have matching set of extensions returned from the request. Each result will have the same index in the resulting array that the filter had in the incoming query.
filters: QueryFilter[]
Property Value
flags
The Flags are used to determine which set of information the caller would like returned for the matched extensions.
flags: ExtensionQueryFlags
Property Value
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈