PhoneNumberMatchResult Enum
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.
The result of calling the PhoneNumberInfo.CheckNumberMatch method.
public enum class PhoneNumberMatchResult
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class PhoneNumberMatchResult
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum PhoneNumberMatchResult
var value = Windows.Globalization.PhoneNumberFormatting.PhoneNumberMatchResult.noMatch
Public Enum PhoneNumberMatchResult
- Inheritance
-
PhoneNumberMatchResult
- Attributes
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
Fields
Name | Value | Description |
---|---|---|
NoMatch | 0 | The two numbers do not match. |
ShortNationalSignificantNumberMatch | 1 | The short national significant part (the subscriber number) of the two numbers match. |
NationalSignificantNumberMatch | 2 | The entire national significant part (area code and subscriber number) of the two numbers match. |
ExactMatch | 3 | The two numbers are an exact match. |