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
System.String

A String identifier.

contractualRules
System.Collections.Generic.IList<ContractualRulesContractualRule>

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

webSearchUrl
System.String

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

name
System.String

The name of the thing represented by this object.

url
System.String

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

image
ImageObject
description
System.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
System.String

An ID that uniquely identifies this item.

streetAddress
System.String
addressLocality
System.String

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

addressSubregion
System.String
addressRegion
System.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
System.String

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

postOfficeBoxNumber
System.String
addressCountry
System.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
System.String

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

neighborhood
System.String

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

addressRegionAbbreviation
System.String

Region Abbreviation. For example, WA.

text
System.String

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

Applies to