Dela via


PostalAddress Constructors

Definition

Overloads

PostalAddress()

Initializes a new instance of the PostalAddress class.

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

Initializes a new instance of the PostalAddress class.

PostalAddress()

Initializes a new instance of the PostalAddress class.

public PostalAddress ();
Public Sub New ()

Applies to

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

Initializes a new instance of the PostalAddress class.

public PostalAddress (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, string streetAddress = default, string addressLocality = default, string addressSubregion = default, string addressRegion = default, string postalCode = default, string postOfficeBoxNumber = default, string addressCountry = default, string countryIso = default, string neighborhood = default, string addressRegionAbbreviation = default, string text = default);
new Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.PostalAddress : 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 * string * string * string * string * string * string * string * string * string * string * string -> Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.PostalAddress
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 streetAddress As String = Nothing, Optional addressLocality As String = Nothing, Optional addressSubregion As String = Nothing, Optional addressRegion As String = Nothing, Optional postalCode As String = Nothing, Optional postOfficeBoxNumber As String = Nothing, Optional addressCountry As String = Nothing, Optional countryIso As String = Nothing, Optional neighborhood As String = Nothing, Optional addressRegionAbbreviation As String = Nothing, Optional text 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.

streetAddress
String
addressLocality
String

The city where the street address is located. For example, Seattle.

addressSubregion
String
addressRegion
String

The state or province code where the street address is located. This could be the two-letter code. For example, WA, or the full name , Washington.

postalCode
String

The zip code or postal code where the street address is located. For example, 98052.

postOfficeBoxNumber
String
addressCountry
String

The country/region where the street address is located. This could be the two-letter ISO code. For example, US, or the full name, United States.

countryIso
String

The two letter ISO code of this countr. For example, US.

neighborhood
String

The neighborhood where the street address is located. For example, Westlake.

addressRegionAbbreviation
String

Region Abbreviation. For example, WA.

text
String

The complete address. For example, 2100 Westlake Ave N, Bellevue, WA 98052.

Applies to