System.Globalization Namespace
Defines the types of culture lists that can be retrieved using CultureInfo.GetCultures.
This enumeration has a FlagsAttribute that allows a bitwise combination of its member values.
Member name |
Description |
AllCultures |
Refers to all cultures. |
InstalledWin32Cultures |
Refers to all cultures that are installed in the system. |
NeutralCultures |
Refers to cultures that are associated with a language but are not specific to a country/region. The names of these cultures consist of the lowercase two-letter code derived from ISO 639-1. For example: "en" ( English ) is a neutral culture. The invariant culture is included in the array of cultures returned by CultureInfo.GetCultures with this value. |
SpecificCultures |
Refers to cultures that are specific to a country/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. |
These culture types serve as a filter that limits which cultures are returned by CultureInfo.GetCultures.
Show me
For more information on cultures, see CultureInfo.
CultureInfo.CultureTypes Property CultureInfo.GetCultures Method