PhoneNumberParseResult PhoneNumberParseResult PhoneNumberParseResult PhoneNumberParseResult Enum

Definition

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

public : enum class PhoneNumberParseResultpublic enum PhoneNumberParseResultPublic Enum PhoneNumberParseResult// You can use this enum in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Fields

InvalidCountryCode InvalidCountryCode InvalidCountryCode InvalidCountryCode

The prospective number has an invalid country code, and is not valid.

NotANumber NotANumber NotANumber NotANumber

The prospective number is not valid.

TooLong TooLong TooLong TooLong

The prospective number is too long, and is not valid.

TooShort TooShort TooShort TooShort

The prospective number is too short, and is not valid.

Valid Valid Valid Valid

The prospective number has been parsed, and is valid.