다음을 통해 공유


Hotel Class

Definition

public class Hotel : Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.LodgingBusiness
type Hotel = class
    inherit LodgingBusiness
Public Class Hotel
Inherits LodgingBusiness
Inheritance

Constructors

Hotel()

Initializes a new instance of the Hotel class.

Hotel(String, IList<ContractualRulesContractualRule>, String, String, String, ImageObject, String, EntitiesEntityPresentationInfo, String, PostalAddress, String, String, IList<ImageObject>, Nullable<Boolean>, String, String, IList<String>)

Initializes a new instance of the Hotel class.

Properties

Address

Gets the postal address of where the entity is located

(Inherited from Place)
Amenities
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)
HotelClass
Id

Gets a String identifier.

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

Gets the name of the thing represented by this object.

(Inherited from Thing)
Panoramas (Inherited from LocalBusiness)
PriceRange

Gets $$.

(Inherited from LocalBusiness)
TagLine (Inherited from LocalBusiness)
Telephone

Gets the entity's telephone number

(Inherited from Place)
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