Share via


MediaObject Class

Definition

Defines a media object.

public class MediaObject : Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.CreativeWork
type MediaObject = class
    inherit CreativeWork
Public Class MediaObject
Inherits CreativeWork
Inheritance
Derived

Constructors

MediaObject()

Initializes a new instance of the MediaObject class.

MediaObject(String, String, String, String, ImageObject, String, String, String, String, IList<Thing>, String, VideoObject, String, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the MediaObject 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).

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.

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)
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.

Applies to