-api-id | -api-type |
---|---|
M:Windows.Globalization.PhoneNumberFormatting.PhoneNumberFormatter.Format(Windows.Globalization.PhoneNumberFormatting.PhoneNumberInfo,Windows.Globalization.PhoneNumberFormatting.PhoneNumberFormat) |
winrt method |
Returns a string representing the given phone number, using the given format.
The phone number to be formatted. The PhoneNumberInfo specifies not just the subscriber number, but also other relevant information such as country code.
The specific format to be used.
A string containing the phone number, in the specified format.