ImageInsights Constructors

Definition

Overloads

ImageInsights()

Initializes a new instance of the ImageInsights class.

ImageInsights(String, String, String, String, Query, ImageInsightsImageCaption, RelatedCollectionsModule, ImagesModule, AggregateOffer, RelatedSearchesModule, RecipesModule, ImagesModule, ImagesModule, RecognizedEntitiesModule, ImageTagsModule)

Initializes a new instance of the ImageInsights class.

ImageInsights()

Initializes a new instance of the ImageInsights class.

public ImageInsights ();
Public Sub New ()

Applies to

ImageInsights(String, String, String, String, Query, ImageInsightsImageCaption, RelatedCollectionsModule, ImagesModule, AggregateOffer, RelatedSearchesModule, RecipesModule, ImagesModule, ImagesModule, RecognizedEntitiesModule, ImageTagsModule)

Initializes a new instance of the ImageInsights class.

public ImageInsights (string id = default, string readLink = default, string webSearchUrl = default, string imageInsightsToken = default, Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Query bestRepresentativeQuery = default, Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.ImageInsightsImageCaption imageCaption = default, Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.RelatedCollectionsModule relatedCollections = default, Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.ImagesModule pagesIncluding = default, Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.AggregateOffer shoppingSources = default, Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.RelatedSearchesModule relatedSearches = default, Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.RecipesModule recipes = default, Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.ImagesModule visuallySimilarImages = default, Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.ImagesModule visuallySimilarProducts = default, Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.RecognizedEntitiesModule recognizedEntityGroups = default, Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.ImageTagsModule imageTags = default);
new Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.ImageInsights : string * string * string * string * Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Query * Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.ImageInsightsImageCaption * Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.RelatedCollectionsModule * Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.ImagesModule * Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.AggregateOffer * Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.RelatedSearchesModule * Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.RecipesModule * Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.ImagesModule * Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.ImagesModule * Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.RecognizedEntitiesModule * Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.ImageTagsModule -> Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.ImageInsights
Public Sub New (Optional id As String = Nothing, Optional readLink As String = Nothing, Optional webSearchUrl As String = Nothing, Optional imageInsightsToken As String = Nothing, Optional bestRepresentativeQuery As Query = Nothing, Optional imageCaption As ImageInsightsImageCaption = Nothing, Optional relatedCollections As RelatedCollectionsModule = Nothing, Optional pagesIncluding As ImagesModule = Nothing, Optional shoppingSources As AggregateOffer = Nothing, Optional relatedSearches As RelatedSearchesModule = Nothing, Optional recipes As RecipesModule = Nothing, Optional visuallySimilarImages As ImagesModule = Nothing, Optional visuallySimilarProducts As ImagesModule = Nothing, Optional recognizedEntityGroups As RecognizedEntitiesModule = Nothing, Optional imageTags As ImageTagsModule = Nothing)

Parameters

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.

imageInsightsToken
String

A token that you use in a subsequent call to the Image Search API to get more information about the image. For information about using this token, see the insightsToken query parameter. This token has the same usage as the token in the Image object.

bestRepresentativeQuery
Query

The query term that best represents the image. Clicking the link in the Query object, takes the user to a webpage with more pictures of the image.

imageCaption
ImageInsightsImageCaption

The caption to use for the image.

relatedCollections
RelatedCollectionsModule

A list of links to webpages that contain related images.

pagesIncluding
ImagesModule

A list of webpages that contain the image. To access the webpage, use the URL in the image's hostPageUrl field.

shoppingSources
AggregateOffer

A list of merchants that offer items related to the image. For example, if the image is of an apple pie, the list contains merchants that are selling apple pies.

relatedSearches
RelatedSearchesModule

A list of related queries made by others.

recipes
RecipesModule

A list of recipes related to the image. For example, if the image is of an apple pie, the list contains recipes for making an apple pie.

visuallySimilarImages
ImagesModule

A list of images that are visually similar to the original image. For example, if the specified image is of a sunset over a body of water, the list of similar images are of a sunset over a body of water. If the specified image is of a person, similar images might be of the same person or they might be of persons dressed similarly or in a similar setting. The criteria for similarity continues to evolve.

visuallySimilarProducts
ImagesModule

A list of images that contain products that are visually similar to products found in the original image. For example, if the specified image contains a dress, the list of similar images contain a dress. The image provides summary information about offers that Bing found online for the product.

recognizedEntityGroups
RecognizedEntitiesModule

A list of groups that contain images of entities that match the entity found in the specified image. For example, the response might include images from the general celebrity group if the entity was recognized in that group.

imageTags
ImageTagsModule

A list of characteristics of the content found in the image. For example, if the image is of a person, the tags might indicate the person's gender and the type of clothes they're wearing.

Applies to