.NET Framework Class Library
CultureInfo Members

Provides information about a specific culture (called a "locale" for unmanaged code development). The information includes the names for the culture, the writing system, the calendar used, and formatting for dates and sort strings.

The CultureInfo type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkCultureInfoOverloaded. Initializes a new instance of the CultureInfo class.
Top
Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkClearCachedDataRefreshes cached culture-related information.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkCloneCreates a copy of the current CultureInfo.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkCreateSpecificCultureCreates a CultureInfo that represents the specific culture that is associated with the specified name.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkEqualsDetermines whether the specified object is the same culture as the current CultureInfo. (Overrides Object..::.Equals(Object).)
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFinalizeAllows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetConsoleFallbackUICultureGets an alternate user interface culture suitable for console applications when the default graphic user interface culture is unsuitable.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetCultureInfoOverloaded. Retrieves a cached, read-only instance of a culture.
Public methodStatic memberGetCultureInfoByIetfLanguageTagDeprecated. Retrieves a read-only CultureInfo object having linguistic characteristics that are identified by the specified RFC 4646 language tag.
Public methodStatic memberGetCulturesGets the list of supported cultures filtered by the specified CultureTypes parameter.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetFormatGets an object that defines how to format the specified type.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetHashCodeServes as a hash function for the current CultureInfo, suitable for hashing algorithms and data structures, such as a hash table. (Overrides Object..::.GetHashCode()()().)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadOnlyReturns a read-only wrapper around the specified CultureInfo.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToStringReturns a string containing the name of the current CultureInfo in the format "<languagecode2>-<country/regioncode2>". (Overrides Object..::.ToString()()().)
Top
Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkCalendarGets the default calendar used by the culture.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkCompareInfoGets the CompareInfo that defines how to compare strings for the culture.
Public propertyCultureTypesGets the culture types that pertain to the current CultureInfo object.
Public propertyStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkCurrentCultureGets the CultureInfo that represents the culture used by the current thread.
Public propertyStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkCurrentUICultureGets the CultureInfo that represents the current culture used by the Resource Manager to look up culture-specific resources at run time.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkDateTimeFormatGets or sets a DateTimeFormatInfo that defines the culturally appropriate format of displaying dates and times.
Public propertyDisplayNameGets the culture name in the format "<languagefull> (<country/regionfull>)" in the language of the localized version of .NET Framework.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkEnglishNameGets the culture name in the format "<languagefull> (<country/regionfull>)" in English.
Public propertyIetfLanguageTagDeprecated. Gets the RFC 4646 standard identification for a language.
Public propertyStatic memberInstalledUICultureGets the CultureInfo that represents the culture installed with the operating system.
Public propertyStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkInvariantCultureGets the CultureInfo that is culture-independent (invariant).
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkIsNeutralCultureGets a value indicating whether the current CultureInfo represents a neutral culture.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkIsReadOnlyGets a value indicating whether the current CultureInfo is read-only.
Public propertyKeyboardLayoutIdGets the active input locale identifier.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkLCIDGets the culture identifier for the current CultureInfo.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkNameGets the culture name in the format "<languagecode2>-<country/regioncode2>".
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkNativeNameGets the culture name, consisting of the language, the country/region, and the optional script, that the culture is set to display.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkNumberFormatGets or sets a NumberFormatInfo that defines the culturally appropriate format of displaying numbers, currency, and percentage.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkOptionalCalendarsGets the list of calendars that can be used by the culture.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkParentGets the CultureInfo that represents the parent culture of the current CultureInfo.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkTextInfoGets the TextInfo that defines the writing system associated with the culture.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkThreeLetterISOLanguageNameGets the ISO 639-2 three-letter code for the language of the current CultureInfo.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkThreeLetterWindowsLanguageNameGets the three-letter code for the language as defined in the Windows API.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkTwoLetterISOLanguageNameGets the ISO 639-1 two-letter code for the language of the current CultureInfo.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkUseUserOverrideGets a value indicating whether the current CultureInfo uses the user-selected culture settings.
Top
See Also

Reference

Tags :


Page view tracker