Compartir a través de


CultureTypes Enumeration

Defines the types of culture lists that you can retrieve by using the GetCultures method.

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)

Syntax

public enum CultureTypes

Members

  Member name Description
AllCultures All cultures.
FrameworkCultures Cultures supported by the .NET Micro Framework.
InstalledWin32Cultures All cultures that are installed in the Windows system.
NeutralCultures Cultures that are associated with a particular language but are not specific to a particular country or region. The name of each such culture consists of a lowercase two-letter code derived from ISO 639-1. For example, "en" (English) is a neutral culture.
ReplacementCultures Cultures that are used when a specified culture is not supported by the .NET Micro Framework.
SpecificCultures Cultures that are specific to a particular country or region. The names of these cultures follow the RFC 1766 standard, in the format "<languagecode2>-<country/regioncode2>", where <languagecode2> is a lowercase two-letter code derived from ISO 639-1 and <country/regioncode2> is an uppercase two-letter code derived from ISO 3166. For example, "en-US" (English - United States) is a specific culture.
UserCustomCulture Programmer-defined cultures.
WindowsOnlyCultures Cultures defined only in Windows and not in the .NET Micro Framework.

Remarks

Currently, the only supported culture type is AllCultures.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

System.Globalization Namespace