Export (0) Print
Expand All

CultureInfo Members

CultureInfo overview

Public Constructors

public constructorCultureInfo Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of the CultureInfo class.

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.

Public Methods

public methodClearCachedData Refreshes cached culture-related information.
public methodClone

Supported by the .NET Compact Framework.

Creates a copy of the current CultureInfo.
public methodstatic (Shared in Visual Basic)CreateSpecificCulture

Supported by the .NET Compact Framework.

Creates a CultureInfo that represents the specific culture that is associated with the specified name.
public methodEquals

Supported by the .NET Compact Framework.

Overridden. Determines whether the specified object is the same culture as the current CultureInfo.
public methodstatic (Shared in Visual Basic)GetCultures Gets the list of supported cultures filtered by the specified CultureTypes.
public methodGetFormat

Supported by the .NET Compact Framework.

Gets an object that defines how to format the specified type.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. Serves as a hash function for the current CultureInfo, suitable for use in hashing algorithms and data structures, such as a hash table.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodstatic (Shared in Visual Basic)ReadOnly

Supported by the .NET Compact Framework.

Returns a read-only wrapper around the specified CultureInfo.
public methodToString

Supported by the .NET Compact Framework.

Overridden. Returns a string containing the name of the current CultureInfo in the format "<languagecode2>-<country/regioncode2>".

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

CultureInfo Class | System.Globalization Namespace

Show:
© 2014 Microsoft