你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Videos 构造函数

定义

重载

Videos()

初始化 Videos 类的新实例。

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

初始化 Videos 类的新实例。

Videos()

初始化 Videos 类的新实例。

public Videos ();
Public Sub New ()

适用于

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

初始化 Videos 类的新实例。

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)

参数

value
IList<VideoObject>

与查询相关的视频对象列表。

id
String

字符串标识符。

webSearchUrl
String

指向此项目的必应搜索结果的 URL。

followUpQueries
IList<Query>
totalEstimatedMatches
Nullable<Int64>

与查询相关的估计网页数。 将此数字与 count 和 offset 查询参数一起用于对结果进行分页。

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

可能的值包括:“List”、“SingleDominantVideo”

queryExpansions
IList<Query>
pivotSuggestions
IList<PivotSuggestions>

适用于