PhoneNumberParse Method

Parses a string into a value.

Definition

Namespace: MobileTrack.Common.Models
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public static PhoneNumber Parse(
	string s,
	IFormatProvider? provider
)

Parameters

s  String
The string to parse.
provider  IFormatProvider
An object that provides culture-specific formatting information about s.

Return Value

PhoneNumber
The result of parsing s.

Implements

IParsableTSelfParse(String, IFormatProvider)

Exceptions

ArgumentNullExceptions is .
FormatExceptions is not in the correct format.
OverflowExceptions is not representable by TSelf.

See Also