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 |
---|---|
PhoneFormatProvider |
Properties
Count
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Item[CountryCode]
Declaration
public PhoneFormatDefinition this[CountryCode key] { get; }
Parameters
Type | Name | Description |
---|---|---|
CountryCode | key |
Property Value
Type | Description |
---|---|
PhoneFormatDefinition |
Methods
Add(CountryCode, UInt16, UInt16)
Declaration
public void Add(CountryCode country, ushort prefix, ushort digits)
Parameters
Type | Name | Description |
---|---|---|
CountryCode | country | |
System.UInt16 | prefix | |
System.UInt16 | 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()