CountryLocale Struct
Assembly: PTS.Globalization.dll
Syntax
public struct CountryLocale
Constructors
CountryLocale(CultureInfo)
Declaration
public CountryLocale(CultureInfo culture)
Parameters
Type |
Name |
Description |
System.Globalization.CultureInfo |
culture |
|
Fields
Country
Declaration
public CountryCode Country
Field Value
Culture
Declaration
public CultureInfo Culture
Field Value
Type |
Description |
System.Globalization.CultureInfo |
|
Currency
Declaration
public CurrencyCode Currency
Field Value
Declaration
public DateFormatDefinition DateFormat
Field Value
Language
Declaration
public LanguageCode Language
Field Value
Declaration
public PhoneFormatDefinition PhoneFormat
Field Value
Region
Declaration
Field Value
Type |
Description |
System.Globalization.RegionInfo |
|
Methods
Declaration
public string FormatIsoCurrency(decimal value)
Parameters
Type |
Name |
Description |
System.Decimal |
value |
|
Returns
Type |
Description |
System.String |
|
Declaration
public string FormatLocalCurrency(decimal value)
Parameters
Type |
Name |
Description |
System.Decimal |
value |
|
Returns
Type |
Description |
System.String |
|
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Extension Methods