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

TrendingVideos 构造函数

定义

重载

TrendingVideos()

初始化 TrendingVideos 类的新实例。

TrendingVideos(IList<TrendingVideosTile>, IList<TrendingVideosCategory>, String, String)

初始化 TrendingVideos 类的新实例。

TrendingVideos()

初始化 TrendingVideos 类的新实例。

public TrendingVideos ();
Public Sub New ()

适用于

TrendingVideos(IList<TrendingVideosTile>, IList<TrendingVideosCategory>, String, String)

初始化 TrendingVideos 类的新实例。

public TrendingVideos (System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models.TrendingVideosTile> bannerTiles, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models.TrendingVideosCategory> categories, string id = default, string webSearchUrl = default);
new Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models.TrendingVideos : System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models.TrendingVideosTile> * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models.TrendingVideosCategory> * string * string -> Microsoft.Azure.CognitiveServices.Search.VideoSearch.Models.TrendingVideos
Public Sub New (bannerTiles As IList(Of TrendingVideosTile), categories As IList(Of TrendingVideosCategory), Optional id As String = Nothing, Optional webSearchUrl As String = Nothing)

参数

bannerTiles
IList<TrendingVideosTile>
id
String

字符串标识符。

webSearchUrl
String

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

适用于