你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DocumentIntelligenceModelFactory.AddressValue Method

Definition

Initializes a new instance of AddressValue.

public static Azure.AI.DocumentIntelligence.AddressValue AddressValue (string houseNumber = default, string poBox = default, string road = default, string city = default, string state = default, string postalCode = default, string countryRegion = default, string streetAddress = default, string unit = default, string cityDistrict = default, string stateDistrict = default, string suburb = default, string house = default, string level = default);
static member AddressValue : string * string * string * string * string * string * string * string * string * string * string * string * string * string -> Azure.AI.DocumentIntelligence.AddressValue
Public Shared Function AddressValue (Optional houseNumber As String = Nothing, Optional poBox As String = Nothing, Optional road As String = Nothing, Optional city As String = Nothing, Optional state As String = Nothing, Optional postalCode As String = Nothing, Optional countryRegion As String = Nothing, Optional streetAddress As String = Nothing, Optional unit As String = Nothing, Optional cityDistrict As String = Nothing, Optional stateDistrict As String = Nothing, Optional suburb As String = Nothing, Optional house As String = Nothing, Optional level As String = Nothing) As AddressValue

Parameters

houseNumber
String

House or building number.

poBox
String

Post office box number.

road
String

Street name.

city
String

Name of city, town, village, etc.

state
String

First-level administrative division.

postalCode
String

Postal code used for mail sorting.

countryRegion
String

Country/region.

streetAddress
String

Street-level address, excluding city, state, countryRegion, and postalCode.

unit
String

Apartment or office number.

cityDistrict
String

Districts or boroughs within a city, such as Brooklyn in New York City or City of Westminster in London.

stateDistrict
String

Second-level administrative division used in certain locales.

suburb
String

Unofficial neighborhood name, like Chinatown.

house
String

Build name, such as World Trade Center.

level
String

Floor number, such as 3F.

Returns

A new AddressValue instance for mocking.

Applies to