Share via


ImageInsightsImageCaption Class

Definition

Defines an image's caption.

public class ImageInsightsImageCaption
type ImageInsightsImageCaption = class
Public Class ImageInsightsImageCaption
Inheritance
ImageInsightsImageCaption

Constructors

ImageInsightsImageCaption()

Initializes a new instance of the ImageInsightsImageCaption class.

ImageInsightsImageCaption(String, String, IList<Query>)

Initializes a new instance of the ImageInsightsImageCaption class.

Properties

Caption

Gets or sets a caption about the image.

DataSourceUrl

Gets or sets 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

Gets or sets 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.

Methods

Validate()

Validate the object.

Applies to