Share via


Images Constructors

Definition

Overloads

Images()

Initializes a new instance of the Images class.

Images(IList<ImageObject>, String, String, String, Nullable<Int64>, Nullable<Int32>, IList<Query>, IList<PivotSuggestions>, IList<Query>)

Initializes a new instance of the Images class.

Images()

Initializes a new instance of the Images class.

public Images ();
Public Sub New ()

Applies to

Images(IList<ImageObject>, String, String, String, Nullable<Int64>, Nullable<Int32>, IList<Query>, IList<PivotSuggestions>, IList<Query>)

Initializes a new instance of the Images class.

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)

Parameters

value
IList<ImageObject>

A list of image objects that are relevant to the query. If there are no results, the List is empty.

id
String

A String identifier.

readLink
String

The URL that returns this resource.

webSearchUrl
String

The URL To Bing's search result for this item.

totalEstimatedMatches
Nullable<Int64>

The estimated number of webpages that are relevant to the query. Use this number along with the count and offset query parameters to page the results.

nextOffset
Nullable<Int32>

Used as part of deduping. Tells client the next offset that client should use in the next pagination request

queryExpansions
IList<Query>

A list of expanded queries that narrows the original query. For example, if the query was Microsoft Surface, the expanded queries might be: Microsoft Surface Pro 3, Microsoft Surface RT, Microsoft Surface Phone, and Microsoft Surface Hub.

pivotSuggestions
IList<PivotSuggestions>

A list of segments in the original query. For example, if the query was Red Flowers, Bing might segment the query into Red and Flowers. The Flowers pivot may contain query suggestions such as Red Peonies and Red Daisies, and the Red pivot may contain query suggestions such as Green Flowers and Yellow Flowers.

similarTerms
IList<Query>

A list of terms that are similar in meaning to the user's query term.

Applies to