Share via


VideoObject Constructors

Definition

Overloads

VideoObject()

Initializes a new instance of the VideoObject class.

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

Initializes a new instance of the VideoObject class.

VideoObject()

Initializes a new instance of the VideoObject class.

public VideoObject ();
Public Sub New ()

Applies to

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

Initializes a new instance of the VideoObject class.

public VideoObject (string id = default, string webSearchUrl = default, string name = default, string url = default, Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.ImageObject image = default, string description = default, string alternateName = default, string bingId = default, string thumbnailUrl = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.Thing> provider = default, string datePublished = default, Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.VideoObject video = default, string contentUrl = default, int? width = default, int? height = default, string motionThumbnailUrl = default, string motionThumbnailId = default, string embedHtml = default, bool? allowHttpsEmbed = default, int? viewCount = default, Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.ImageObject thumbnail = default, string videoId = default, bool? allowMobileEmbed = default, bool? isSuperfresh = default);
new Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.VideoObject : string * string * string * string * Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.ImageObject * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.Thing> * string * Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.VideoObject * string * Nullable<int> * Nullable<int> * string * string * string * Nullable<bool> * Nullable<int> * Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.ImageObject * string * Nullable<bool> * Nullable<bool> -> Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.VideoObject
Public Sub New (Optional id As String = Nothing, Optional webSearchUrl As String = Nothing, Optional name As String = Nothing, Optional url As String = Nothing, Optional image As ImageObject = Nothing, Optional description As String = Nothing, Optional alternateName As String = Nothing, Optional bingId As String = Nothing, Optional thumbnailUrl As String = Nothing, Optional provider As IList(Of Thing) = Nothing, Optional datePublished As String = Nothing, Optional video As VideoObject = Nothing, Optional contentUrl As String = Nothing, Optional width As Nullable(Of Integer) = Nothing, Optional height As Nullable(Of Integer) = Nothing, Optional motionThumbnailUrl As String = Nothing, Optional motionThumbnailId As String = Nothing, Optional embedHtml As String = Nothing, Optional allowHttpsEmbed As Nullable(Of Boolean) = Nothing, Optional viewCount As Nullable(Of Integer) = Nothing, Optional thumbnail As ImageObject = Nothing, Optional videoId As String = Nothing, Optional allowMobileEmbed As Nullable(Of Boolean) = Nothing, Optional isSuperfresh As Nullable(Of Boolean) = Nothing)

Parameters

id
String

A String identifier.

webSearchUrl
String

The URL To Bing's search result for this item.

name
String

The name of the thing represented by this object.

url
String

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

image
ImageObject

An image of the item.

description
String

A short description of the item.

alternateName
String

An alias for the item

bingId
String

An ID that uniquely identifies this item.

thumbnailUrl
String

The URL to a thumbnail of the item.

provider
IList<Thing>

The source of the creative work.

datePublished
String

The date on which the CreativeWork was published.

video
VideoObject

A video of the item.

contentUrl
String

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

width
Nullable<Int32>

The width of the source media object, in pixels.

height
Nullable<Int32>

The height of the source media object, in pixels.

motionThumbnailUrl
String
motionThumbnailId
String
embedHtml
String
allowHttpsEmbed
Nullable<Boolean>
viewCount
Nullable<Int32>
thumbnail
ImageObject
videoId
String
allowMobileEmbed
Nullable<Boolean>
isSuperfresh
Nullable<Boolean>

Applies to