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

Places 构造函数

定义

重载

Places()

初始化 Places 类的新实例。

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

初始化 Places 类的新实例。

Places()

初始化 Places 类的新实例。

public Places ();
Public Sub New ()

适用于

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

初始化 Places 类的新实例。

public Places (System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.Thing> 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.Places : System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.Thing> * 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.Places
Public Sub New (value As IList(Of Thing), 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<Thing>

本地实体的列表,例如餐馆或酒店。

id
String

字符串标识符。

webSearchUrl
String

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

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

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

isFamilyFriendly
Nullable<Boolean>

适用于