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

RelatedSearchesRelatedSearchAnswer 构造函数

定义

重载

RelatedSearchesRelatedSearchAnswer()

初始化 RelatedSearchesRelatedSearchAnswer 类的新实例。

RelatedSearchesRelatedSearchAnswer(IList<Query>, String, String, IList<Query>, QueryContext, Nullable<Int64>, Nullable<Boolean>)

初始化 RelatedSearchesRelatedSearchAnswer 类的新实例。

RelatedSearchesRelatedSearchAnswer()

初始化 RelatedSearchesRelatedSearchAnswer 类的新实例。

public RelatedSearchesRelatedSearchAnswer ();
Public Sub New ()

适用于

RelatedSearchesRelatedSearchAnswer(IList<Query>, String, String, IList<Query>, QueryContext, Nullable<Int64>, Nullable<Boolean>)

初始化 RelatedSearchesRelatedSearchAnswer 类的新实例。

public RelatedSearchesRelatedSearchAnswer (System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.Query> value, string id = default, string webSearchUrl = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.Query> followUpQueries = default, Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.QueryContext queryContext = default, long? totalEstimatedMatches = default, bool? isFamilyFriendly = default);
new Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.RelatedSearchesRelatedSearchAnswer : System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.Query> * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.Query> * Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.QueryContext * Nullable<int64> * Nullable<bool> -> Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.RelatedSearchesRelatedSearchAnswer
Public Sub New (value As IList(Of Query), Optional id As String = Nothing, Optional webSearchUrl As String = Nothing, Optional followUpQueries As IList(Of Query) = Nothing, Optional queryContext As QueryContext = Nothing, Optional totalEstimatedMatches As Nullable(Of Long) = Nothing, Optional isFamilyFriendly As Nullable(Of Boolean) = Nothing)

参数

value
IList<Query>

其他人进行的相关查询的列表。

id
String

字符串标识符。

webSearchUrl
String

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

followUpQueries
IList<Query>
queryContext
QueryContext
totalEstimatedMatches
Nullable<Int64>

与查询相关的估计网页数。 使用此数字以及 count 和 offset 查询参数来对结果进行分页。

isFamilyFriendly
Nullable<Boolean>

适用于