Delen via


Airport Constructors

Definition

Overloads

Airport()

Initializes a new instance of the Airport class.

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

Initializes a new instance of the Airport class.

Airport()

Initializes a new instance of the Airport class.

public Airport ();
Public Sub New ()

Applies to

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

Initializes a new instance of the Airport class.

public Airport (string id = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ContractualRulesContractualRule> contractualRules = default, string webSearchUrl = default, string name = default, string url = default, Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ImageObject image = default, string description = default, Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.EntitiesEntityPresentationInfo entityPresentationInfo = default, string bingId = default, Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.PostalAddress address = default, string telephone = default, string iataCode = default, string icaoCode = default);
new Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.Airport : string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ContractualRulesContractualRule> * string * string * string * Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ImageObject * string * Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.EntitiesEntityPresentationInfo * string * Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.PostalAddress * string * string * string -> Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.Airport
Public Sub New (Optional id As String = Nothing, Optional contractualRules As IList(Of ContractualRulesContractualRule) = Nothing, Optional webSearchUrl As String = Nothing, Optional name As String = Nothing, Optional url As String = Nothing, Optional image As ImageObject = Nothing, Optional description As String = Nothing, Optional entityPresentationInfo As EntitiesEntityPresentationInfo = Nothing, Optional bingId As String = Nothing, Optional address As PostalAddress = Nothing, Optional telephone As String = Nothing, Optional iataCode As String = Nothing, Optional icaoCode As String = Nothing)

Parameters

id
String

A String identifier.

contractualRules
IList<ContractualRulesContractualRule>

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

webSearchUrl
String

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

name
String

The name of the thing represented by this object.

url
String

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

image
ImageObject
description
String

A short description of the item.

entityPresentationInfo
EntitiesEntityPresentationInfo

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.

bingId
String

An ID that uniquely identifies this item.

address
PostalAddress

The postal address of where the entity is located

telephone
String

The entity's telephone number

iataCode
String
icaoCode
String

Applies to