Partager via


CultureInfo.GetCultures Method

Gets the list of supported cultures filtered by the specified CultureTypes values.

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

Syntax

public static CultureInfo [] GetCultures (
         CultureTypes types
)

Parameters

  • types
    A combination of CultureTypes values that filter the cultures you want to retrieve.

Return Value

An array of CultureInfo objects that represent the supported cultures filtered by the specified CultureTypes values.

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

CultureInfo Class
CultureInfo Members
System.Globalization Namespace