Places Constructors

Definition

Overloads

Places()

Initializes a new instance of the Places class.

Places(IList<Thing>, String, IList<ContractualRulesContractualRule>, String, QueryContext)

Initializes a new instance of the Places class.

Places()

Initializes a new instance of the Places class.

public Places ();
Public Sub New ()

Applies to

Places(IList<Thing>, String, IList<ContractualRulesContractualRule>, String, QueryContext)

Initializes a new instance of the Places class.

public Places (System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.Thing> value, string id = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ContractualRulesContractualRule> contractualRules = default, string webSearchUrl = default, Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.QueryContext queryContext = default);
new Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.Places : System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.Thing> * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ContractualRulesContractualRule> * string * Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.QueryContext -> Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.Places
Public Sub New (value As IList(Of Thing), Optional id As String = Nothing, Optional contractualRules As IList(Of ContractualRulesContractualRule) = Nothing, Optional webSearchUrl As String = Nothing, Optional queryContext As QueryContext = Nothing)

Parameters

value
System.Collections.Generic.IList<Thing>

A list of local entities, such as restaurants or hotels.

id
System.String

A String identifier.

contractualRules
System.Collections.Generic.IList<ContractualRulesContractualRule>

A list of rules that you must adhere to if you display the item.

webSearchUrl
System.String

The URL To Bing's search result for this item.

queryContext
QueryContext

Applies to