Export (0) Print
Expand All

CultureInfo Properties

The properties of the CultureInfo class are listed here. For a complete list of CultureInfo class members, see the CultureInfo Members topic.

Public Properties

public propertyCalendar

Supported by the .NET Compact Framework.

Gets the default calendar used by the culture.
public propertyCompareInfo

Supported by the .NET Compact Framework.

Gets the CompareInfo that defines how to compare strings for the culture.
public propertystatic (Shared in Visual Basic)CurrentCulture

Supported by the .NET Compact Framework.

Gets the CultureInfo that represents the culture used by the current thread.
public propertystatic (Shared in Visual Basic)CurrentUICulture

Supported by the .NET Compact Framework.

Gets the CultureInfo that represents the current culture used by the Resource Manager to look up culture-specific resources at run time.
public propertyDateTimeFormat

Supported by the .NET Compact Framework.

Gets or sets a DateTimeFormatInfo that defines the culturally appropriate format of displaying dates and times.
public propertyDisplayName Gets the culture name in the format "<languagefull> (<country/regionfull>)" in the language of the localized version of .NET Framework.
public propertyEnglishName

Supported by the .NET Compact Framework.

Gets the culture name in the format "<languagefull> (<country/regionfull>)" in English.
public propertystatic (Shared in Visual Basic)InstalledUICulture Gets the CultureInfo that represents the culture installed with the operating system.
public propertystatic (Shared in Visual Basic)InvariantCulture

Supported by the .NET Compact Framework.

Gets the CultureInfo that is culture-independent (invariant).
public propertyIsNeutralCulture

Supported by the .NET Compact Framework.

Gets a value indicating whether the current CultureInfo represents a neutral culture.
public propertyIsReadOnly

Supported by the .NET Compact Framework.

Gets a value indicating whether the current CultureInfo is read-only.
public propertyLCID

Supported by the .NET Compact Framework.

Gets the culture identifier for the current CultureInfo.
public propertyName

Supported by the .NET Compact Framework.

Gets the culture name in the format "<languagecode2>-<country/regioncode2>".
public propertyNativeName

Supported by the .NET Compact Framework.

Gets the culture name in the format "<languagefull> (<country/regionfull>)" in the language that the culture is set to display.
public propertyNumberFormat

Supported by the .NET Compact Framework.

Gets or sets a NumberFormatInfo that defines the culturally appropriate format of displaying numbers, currency, and percentage.
public propertyOptionalCalendars

Supported by the .NET Compact Framework.

Gets the list of calendars that can be used by the culture.
public propertyParent

Supported by the .NET Compact Framework.

Gets the CultureInfo that represents the parent culture of the current CultureInfo.
public propertyTextInfo

Supported by the .NET Compact Framework.

Gets the TextInfo that defines the writing system associated with the culture.
public propertyThreeLetterISOLanguageName

Supported by the .NET Compact Framework.

Gets the ISO 639-2 three-letter code for the language of the current CultureInfo.
public propertyThreeLetterWindowsLanguageName

Supported by the .NET Compact Framework.

Gets the three-letter code for the language as defined in the Windows API.
public propertyTwoLetterISOLanguageName

Supported by the .NET Compact Framework.

Gets the ISO 639-1 two-letter code for the language of the current CultureInfo.
public propertyUseUserOverride

Supported by the .NET Compact Framework.

Gets a value indicating whether the current CultureInfo uses the user-selected culture settings.

See Also

CultureInfo Class | System.Globalization Namespace

Show:
© 2014 Microsoft