你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Images 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Images() |
初始化 Images 类的新实例。 |
Images(IList<ImageObject>, String, String, String, Nullable<Int64>, Nullable<Int32>, IList<Query>, IList<PivotSuggestions>, IList<Query>) |
初始化 Images 类的新实例。 |
Images()
初始化 Images 类的新实例。
public Images();
Public Sub New ()
适用于
Images(IList<ImageObject>, String, String, String, Nullable<Int64>, Nullable<Int32>, IList<Query>, IList<PivotSuggestions>, IList<Query>)
初始化 Images 类的新实例。
public Images(System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.ImageObject> value, string id = default, string readLink = default, string webSearchUrl = default, long? totalEstimatedMatches = default, int? nextOffset = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Query> queryExpansions = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.PivotSuggestions> pivotSuggestions = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Query> similarTerms = default);
new Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Images : System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.ImageObject> * string * string * string * Nullable<int64> * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Query> * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.PivotSuggestions> * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Query> -> Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Images
Public Sub New (value As IList(Of ImageObject), Optional id As String = Nothing, Optional readLink As String = Nothing, Optional webSearchUrl As String = Nothing, Optional totalEstimatedMatches As Nullable(Of Long) = Nothing, Optional nextOffset As Nullable(Of Integer) = Nothing, Optional queryExpansions As IList(Of Query) = Nothing, Optional pivotSuggestions As IList(Of PivotSuggestions) = Nothing, Optional similarTerms As IList(Of Query) = Nothing)
参数
- value
- IList<ImageObject>
与查询相关的图像对象列表。 如果没有结果,则 List 为空。
- id
- String
字符串标识符。
- readLink
- String
返回此资源的 URL。
- webSearchUrl
- String
必应对此项目的搜索结果的 URL。
扩展查询的列表,用于缩小原始查询范围。 例如,如果查询是 Microsoft Surface,则扩展的查询可以是 Microsoft Surface Pro 3、Microsoft Surface RT、Microsoft Surface Phone 和 Microsoft Surface Hub。
- pivotSuggestions
- IList<PivotSuggestions>
原始查询中的段列表。 例如,如果查询为 Red Flowers,必应可能会将查询分为 Red 和 Flowers。 Flowers 透视可能包含查询建议,如红牡丹和红雏菊,而红色透视可能包含查询建议,如绿花和黄花。