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

ImageInsightsImageCaption 构造函数

定义

重载

ImageInsightsImageCaption()

初始化 ImageInsightsImageCaption 类的新实例。

ImageInsightsImageCaption(String, String, IList<Query>)

初始化 ImageInsightsImageCaption 类的新实例。

ImageInsightsImageCaption()

初始化 ImageInsightsImageCaption 类的新实例。

public ImageInsightsImageCaption ();
Public Sub New ()

适用于

ImageInsightsImageCaption(String, String, IList<Query>)

初始化 ImageInsightsImageCaption 类的新实例。

public ImageInsightsImageCaption (string caption, string dataSourceUrl, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Query> relatedSearches);
new Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.ImageInsightsImageCaption : string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Query> -> Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.ImageInsightsImageCaption
Public Sub New (caption As String, dataSourceUrl As String, relatedSearches As IList(Of Query))

参数

caption
String

有关映像的描述文字。

dataSourceUrl
String

找到描述文字的网站 URL。 必须将描述文字归因于源。 例如,显示描述文字旁边的 URL 中的域名,并使用 URL 链接到源网站。

relatedSearches
IList<Query>

在描述文字中找到的实体列表。 使用 Query 对象的内容在描述文字中查找实体并创建链接。 该链接将用户带到实体的图像。

适用于