共用方式為


MediaObject Class

Definition

Defines a media object.

public class MediaObject : Microsoft.Azure.CognitiveServices.Search.ImageSearch.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, String, ImageObject, String, String, String, String, IList<Thing>, String, String, String, String, String, String, 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)
ContentSize

Gets size of the media object content (use format "value unit" e.g "1024 B").

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

Gets encoding format (e.g mp3, mp4, jpeg, etc).

Height

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

HostPageDisplayUrl

Gets display URL of the page that hosts the media object.

HostPageUrl

Gets URL of the page that hosts the media object.

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

Gets the URL that returns this resource.

(Inherited from Response)
Text

Gets text content of this 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)
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