Delen via


Restaurant Class

Definition

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

Constructors

Restaurant()

Initializes a new instance of the Restaurant class.

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

Initializes a new instance of the Restaurant class.

Properties

AcceptsReservations
Address

Gets the postal address of where the entity is located

(Inherited from Place)
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)
IsPermanentlyClosed (Inherited from LocalBusiness)
MenuUrl
Name

Gets the name of the thing represented by this object.

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

Gets $$.

(Inherited from LocalBusiness)
ReservationUrl
ServesCuisine
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