Share via


ImageInsightsImageCaption Constructors

Definition

Overloads

ImageInsightsImageCaption()

Initializes a new instance of the ImageInsightsImageCaption class.

ImageInsightsImageCaption(String, String, IList<Query>)

Initializes a new instance of the ImageInsightsImageCaption class.

ImageInsightsImageCaption()

Initializes a new instance of the ImageInsightsImageCaption class.

public ImageInsightsImageCaption ();
Public Sub New ()

Applies to

ImageInsightsImageCaption(String, String, IList<Query>)

Initializes a new instance of the ImageInsightsImageCaption class.

public ImageInsightsImageCaption (string caption, string dataSourceUrl, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Query> relatedSearches);
new Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.ImageInsightsImageCaption : string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Query> -> Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.ImageInsightsImageCaption
Public Sub New (caption As String, dataSourceUrl As String, relatedSearches As IList(Of Query))

Parameters

caption
String

A caption about the image.

dataSourceUrl
String

The URL to the website where the caption was found. You must attribute the caption to the source. For example, by displaying the domain name from the URL next to the caption and using the URL to link to the source website.

relatedSearches
IList<Query>

A list of entities found in the caption. Use the contents of the Query object to find the entity in the caption and create a link. The link takes the user to images of the entity.

Applies to