[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the list of supported cultures filtered by the specified CultureTypes parameter.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Public Shared Function GetCultures ( _ types As CultureTypes _ ) As CultureInfo()
- Type: System.Globalization..::..CultureTypes
A bitwise combination of the enumeration values that filter the cultures to retrieve.
Return ValueType: array<System.Globalization..::..CultureInfo>()
An array that contains the cultures specified by the types parameter. The array of cultures is unsorted.
The method is most commonly called with the types parameter set to the following values:
SpecificCultures, which returns all specific cultures.
NeutralCultures, which returns all neutral cultures and the invariant culture.
AllCultures, which returns all neutral and specific cultures, cultures installed in the Windows system, and custom cultures created by the user.
UserCustomCulture, which returns all custom cultures, such as those registered by the class.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.