Place Class

Definition

Defines information about a local entity, such as a restaurant or hotel.

public class Place : Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.Thing
type Place = class
    inherit Thing
Public Class Place
Inherits Thing
Inheritance
Derived

Constructors

Place()

Initializes a new instance of the Place class.

Place(String, IList<ContractualRulesContractualRule>, String, String, String, ImageObject, String, EntitiesEntityPresentationInfo, String, PostalAddress, String)

Initializes a new instance of the Place class.

Properties

Address

Gets the postal address of where the entity is located

BingId

Gets an ID that uniquely identifies this item.

(Inherited from Thing)
ContractualRules

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

(Inherited from Response)
Description

Gets a short description of the item.

(Inherited from Thing)
EntityPresentationInfo

Gets additional information about the entity such as hints that you can use to determine the entity's type. To determine the entity's type, use the entityScenario and entityTypeHint fields.

(Inherited from Thing)
Id

Gets a String identifier.

(Inherited from Identifiable)
Image (Inherited from Thing)
Name

Gets the name of the thing represented by this object.

(Inherited from Thing)
Telephone

Gets the entity's telephone number

Url

Gets the URL to get more information about the thing represented by this object.

(Inherited from Thing)
WebSearchUrl

Gets the URL To Bing's search result for this item.

(Inherited from Response)

Methods

Validate()

Validate the object.

Applies to