PhoneNumbersModelFactory.PhoneNumberAdministrativeDivision 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 PhoneNumberAdministrativeDivision.
public static Azure.Communication.PhoneNumbers.PhoneNumberAdministrativeDivision PhoneNumberAdministrativeDivision (string localizedName = default, string abbreviatedName = default);
static member PhoneNumberAdministrativeDivision : string * string -> Azure.Communication.PhoneNumbers.PhoneNumberAdministrativeDivision
Public Shared Function PhoneNumberAdministrativeDivision (Optional localizedName As String = Nothing, Optional abbreviatedName As String = Nothing) As PhoneNumberAdministrativeDivision
Parameters
- localizedName
- String
Represents the localized name of the administrative division of the locality. e.g. state or province localized name.
- abbreviatedName
- String
Represents the abbreviated name of the administrative division of the locality. e.g. state or province abbreviation such as WA (Washington).
Returns
A new PhoneNumberAdministrativeDivision instance for mocking.
Exceptions
localizedName
or abbreviatedName
is null.
Applies to
Azure SDK for .NET