TextAnalysisModelFactory.AddressMetadata Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of AddressMetadata.
public static Azure.AI.Language.Text.AddressMetadata AddressMetadata(string formatedAddress = default, System.Collections.Generic.IEnumerable<string> addressLines = default, string city = default, string state = default, string postalCode = default, string countryOrRegion = default);
static member AddressMetadata : string * seq<string> * string * string * string * string -> Azure.AI.Language.Text.AddressMetadata
Public Shared Function AddressMetadata (Optional formatedAddress As String = Nothing, Optional addressLines As IEnumerable(Of String) = Nothing, Optional city As String = Nothing, Optional state As String = Nothing, Optional postalCode As String = Nothing, Optional countryOrRegion As String = Nothing) As AddressMetadata
Parameters
- formatedAddress
- String
The fully formatted address string following postal conventions for the address's country/region.
- addressLines
- IEnumerable<String>
The full address string as recognized from the input text.
- city
- String
The city name of the address.
- state
- String
The state or province name of the address.
- postalCode
- String
The postal or ZIP code of the address.
- countryOrRegion
- String
The country or region name of the address.
Returns
A new AddressMetadata instance for mocking.