你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Videos 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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。
- scenario
- Nullable<VideoQueryScenario>
可能的值包括:“List”、“SingleDominantVideo”
- pivotSuggestions
- IList<PivotSuggestions>