Dela via


Windows.Globalization.PhoneNumberFormatting Namespace

Provides phone number formatting, validation, and matching with wide global support.

Note

If you're using C++ or C, then also consider the International Components for Unicode (ICU).

Classes

PhoneNumberFormatter

Formats phone numbers.

PhoneNumberInfo

Information about a phone number.

Enums

PhoneNumberFormat

Lists phone number formats supported by this API.

PhoneNumberMatchResult

The result of calling the PhoneNumberInfo.CheckNumberMatch method.

PhoneNumberParseResult

Describes the results of trying to parse a string into a phone number.

PredictedPhoneNumberKind

The kinds of phone numbers returned by PhoneNumberInfo.PredictNumberKind.

Remarks

For a list of standard country/region codes used by Microsoft, see the Official Country/Region List.