Export (0) Print
Expand All
1 out of 3 rated this helpful - Rate this topic

CultureInfo Members

Provides information about a specific culture, such as the names of the culture, the writing system, the calendar used, and how to format dates and sort strings.

The following tables list the members exposed by the CultureInfo type.

  Name Description
Public method Supported by the .NET Compact Framework CultureInfo Overloaded. Initializes a new instance of the CultureInfo class.
Top
  Name Description
Public property Supported by the .NET Compact Framework Calendar Gets the default calendar used by the culture.
Public property Supported by the .NET Compact Framework CompareInfo Gets the CompareInfo that defines how to compare strings for the culture.
Public property CultureTypes Gets the culture types that pertain to the current CultureInfo object.
Public property Static Supported by the .NET Compact Framework CurrentCulture Gets the CultureInfo that represents the culture used by the current thread.
Public property Static Supported by the .NET Compact Framework CurrentUICulture Gets the CultureInfo that represents the current culture used by the Resource Manager to look up culture-specific resources at run time.
Public property Supported by the .NET Compact Framework DateTimeFormat Gets or sets a DateTimeFormatInfo that defines the culturally appropriate format of displaying dates and times.
Public property DisplayName Gets the culture name in the format "<languagefull> (<country/regionfull>)" in the language of the localized version of .NET Framework.
Public property Supported by the .NET Compact Framework EnglishName Gets the culture name in the format "<languagefull> (<country/regionfull>)" in English.
Public property IetfLanguageTag Gets the RFC 3066(bis) standard identification for a language.
Public property Static InstalledUICulture Gets the CultureInfo that represents the culture installed with the operating system.
Public property Static Supported by the .NET Compact Framework InvariantCulture Gets the CultureInfo that is culture-independent (invariant).
Public property Supported by the .NET Compact Framework IsNeutralCulture Gets a value indicating whether the current CultureInfo represents a neutral culture.
Public property Supported by the .NET Compact Framework IsReadOnly Gets a value indicating whether the current CultureInfo is read-only.
Public property KeyboardLayoutId Gets the active input locale identifier.
Public property Supported by the .NET Compact Framework LCID Gets the culture identifier for the current CultureInfo.
Public property Supported by the .NET Compact Framework Name Gets the culture name in the format "<languagecode2>-<country/regioncode2>".
Public property Supported by the .NET Compact Framework NativeName Gets the culture name in the format "<languagefull> (<country/regionfull>)" in the language that the culture is set to display.
Public property Supported by the .NET Compact Framework NumberFormat Gets or sets a NumberFormatInfo that defines the culturally appropriate format of displaying numbers, currency, and percentage.
Public property Supported by the .NET Compact Framework OptionalCalendars Gets the list of calendars that can be used by the culture.
Public property Supported by the .NET Compact Framework Parent Gets the CultureInfo that represents the parent culture of the current CultureInfo.
Public property Supported by the .NET Compact Framework TextInfo Gets the TextInfo that defines the writing system associated with the culture.
Public property Supported by the .NET Compact Framework ThreeLetterISOLanguageName Gets the ISO 639-2 three-letter code for the language of the current CultureInfo.
Public property Supported by the .NET Compact Framework ThreeLetterWindowsLanguageName Gets the three-letter code for the language as defined in the Windows API.
Public property Supported by the .NET Compact Framework TwoLetterISOLanguageName Gets the ISO 639-1 two-letter code for the language of the current CultureInfo.
Public property Supported by the .NET Compact Framework UseUserOverride Gets a value indicating whether the current CultureInfo uses the user-selected culture settings.
Top
(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework ClearCachedData Refreshes cached culture-related information.
Public method Supported by the .NET Compact Framework Clone Creates a copy of the current CultureInfo.
Public method Static Supported by the .NET Compact Framework CreateSpecificCulture Creates a CultureInfo that represents the specific culture that is associated with the specified name.
Public method Supported by the .NET Compact Framework Equals Overloaded. Overridden.  
Public method GetConsoleFallbackUICulture Gets an alternate user interface culture suitable for console applications when the default graphic user interface culture is unsuitable.
Public method Static Supported by the .NET Compact Framework GetCultureInfo Overloaded. Retrieves a cached, read-only instance of a culture.
Public method Static GetCultureInfoByIetfLanguageTag Retrieves a read-only CultureInfo object whose linguistic characteristics are identified by the specified RFC 3066(bis) language tag.
Public method Static GetCultures Gets the list of supported cultures filtered by the specified CultureTypes parameter.
Public method Supported by the .NET Compact Framework GetFormat Gets an object that defines how to format the specified type.
Public method Supported by the .NET Compact Framework GetHashCode Overridden. Serves as a hash function for the current CultureInfo, suitable for hashing algorithms and data structures, such as a hash table.
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static Supported by the .NET Compact Framework ReadOnly Returns a read-only wrapper around the specified CultureInfo.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework ToString Overridden. Returns a string containing the name of the current CultureInfo in the format "<languagecode2>-<country/regioncode2>".
Top
  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.