ImageObject Class

Definition

Defines an image

public class ImageObject : Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.MediaObject
type ImageObject = class
    inherit MediaObject
Public Class ImageObject
Inherits MediaObject
Inheritance

Constructors

ImageObject()

Initializes a new instance of the ImageObject class.

ImageObject(String, IList<ContractualRulesContractualRule>, String, String, String, ImageObject, String, EntitiesEntityPresentationInfo, String, String, IList<Thing>, String, String, String, Nullable<Int32>, Nullable<Int32>, ImageObject)

Initializes a new instance of the ImageObject class.

Properties

BingId

Gets an ID that uniquely identifies this item.

(Inherited from Thing)
ContentUrl

Gets original URL to retrieve the source (file) for the media object (e.g the source URL for the image).

(Inherited from MediaObject)
ContractualRules

Gets a list of rules that you must adhere to if you display the item.

(Inherited from Response)
Description

Gets a short description of the item.

(Inherited from Thing)
EntityPresentationInfo

Gets additional information about the entity such as hints that you can use to determine the entity's type. To determine the entity's type, use the entityScenario and entityTypeHint fields.

(Inherited from Thing)
Height

Gets the height of the source media object, in pixels.

(Inherited from MediaObject)
HostPageUrl

Gets URL of the page that hosts the media object.

(Inherited from MediaObject)
Id

Gets a String identifier.

(Inherited from Identifiable)
Image (Inherited from Thing)
Name

Gets the name of the thing represented by this object.

(Inherited from Thing)
Provider

Gets the source of the creative work.

(Inherited from CreativeWork)
Text (Inherited from CreativeWork)
Thumbnail

Gets the URL to a thumbnail of the image

ThumbnailUrl

Gets the URL to a thumbnail of the item.

(Inherited from CreativeWork)
Url

Gets the URL to get more information about the thing represented by this object.

(Inherited from Thing)
WebSearchUrl

Gets the URL To Bing's search result for this item.

(Inherited from Response)
Width

Gets the width of the source media object, in pixels.

(Inherited from MediaObject)

Methods

Validate()

Validate the object.

Applies to