Share via


ImageObject Class

Definition

Defines an image

public class ImageObject : Microsoft.Azure.CognitiveServices.Search.NewsSearch.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, String, String, String, ImageObject, String, String, String, String, IList<Thing>, String, VideoObject, String, Nullable<Int32>, Nullable<Int32>, ImageObject)

Initializes a new instance of the ImageObject class.

Properties

AlternateName

Gets an alias for the item

(Inherited from Thing)
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)
DatePublished

Gets the date on which the CreativeWork was published.

(Inherited from CreativeWork)
Description

Gets a short description of the item.

(Inherited from Thing)
Height

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

(Inherited from MediaObject)
Id

Gets a String identifier.

(Inherited from Identifiable)
Image

Gets an image of the item.

(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)
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)
Video

Gets a video of the item.

(Inherited from CreativeWork)
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)

Applies to