Share via


Videos Constructors

Definition

Overloads

Videos()

Initializes a new instance of the Videos class.

Videos(IList<VideoObject>, String, String, IList<Query>, Nullable<Int64>, Nullable<Boolean>, Nullable<Int32>, Nullable<VideoQueryScenario>, IList<Query>, IList<PivotSuggestions>)

Initializes a new instance of the Videos class.

Videos()

Initializes a new instance of the Videos class.

public Videos ();
Public Sub New ()

Applies to

Videos(IList<VideoObject>, String, String, IList<Query>, Nullable<Int64>, Nullable<Boolean>, Nullable<Int32>, Nullable<VideoQueryScenario>, IList<Query>, IList<PivotSuggestions>)

Initializes a new instance of the Videos class.

public Videos (System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models.VideoObject> value, string id = default, string webSearchUrl = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models.Query> followUpQueries = default, long? totalEstimatedMatches = default, bool? isFamilyFriendly = default, int? nextOffset = default, Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models.VideoQueryScenario? scenario = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models.Query> queryExpansions = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models.PivotSuggestions> pivotSuggestions = default);
new Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models.Videos : System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models.VideoObject> * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models.Query> * Nullable<int64> * Nullable<bool> * Nullable<int> * Nullable<Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models.VideoQueryScenario> * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models.Query> * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models.PivotSuggestions> -> Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models.Videos
Public Sub New (value As IList(Of VideoObject), Optional id As String = Nothing, Optional webSearchUrl As String = Nothing, Optional followUpQueries As IList(Of Query) = Nothing, Optional totalEstimatedMatches As Nullable(Of Long) = Nothing, Optional isFamilyFriendly As Nullable(Of Boolean) = Nothing, Optional nextOffset As Nullable(Of Integer) = Nothing, Optional scenario As Nullable(Of VideoQueryScenario) = Nothing, Optional queryExpansions As IList(Of Query) = Nothing, Optional pivotSuggestions As IList(Of PivotSuggestions) = Nothing)

Parameters

value
IList<VideoObject>

A list of video objects that are relevant to the query.

id
String

A String identifier.

webSearchUrl
String

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

followUpQueries
IList<Query>
totalEstimatedMatches
Nullable<Int64>

The estimated number of webpages that are relevant to the query. Use this number along with the count and offset query parameters to page the results.

isFamilyFriendly
Nullable<Boolean>
nextOffset
Nullable<Int32>
scenario
Nullable<VideoQueryScenario>

Possible values include: 'List', 'SingleDominantVideo'

queryExpansions
IList<Query>
pivotSuggestions
IList<PivotSuggestions>

Applies to