PhoneFormatProvider Class
Namespace: PTS.Globalization
Assembly: PTS.Globalization.dll
Syntax
[InitializeOnStart]
public class PhoneFormatProvider
Inheritance
System.Object
PhoneFormatProvider
Fields
Current
Declaration
public static readonly PhoneFormatProvider Current
Field Value
Type | Description |
---|---|
Phone |
Properties
Count
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System. |
Item[CountryCode]
Declaration
public PhoneFormatDefinition this[CountryCode key] { get; }
Parameters
Type | Name | Description |
---|---|---|
Country |
key |
Property Value
Type | Description |
---|---|
Phone |
Methods
Add(CountryCode, UInt16, UInt16)
Declaration
public void Add(CountryCode country, ushort prefix, ushort digits)
Parameters
Type | Name | Description |
---|---|---|
Country |
country | |
System. |
prefix | |
System. |
digits |
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()