Compartir a través de


CultureInfo Members

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

Public Constructors

Name Description
Public Method CultureInfo Initializes a new instance of the CultureInfo class based on the specified culture name.

Public Properties

Name Description
Public Property Static CurrentUICulture Gets the CultureInfo object that represents the culture currently used by the Resource Manager to look up culture-specific resources at run time.
Public Property DateTimeFormat Gets or sets a DateTimeFormatInfo object that defines the culturally appropriate format for displaying dates and times.
Public Property Name Gets the name of the current culture, in the format "<languagecode2>-<country/regioncode2>".
Public Property NumberFormat Gets or sets a NumberFormatInfo object that defines the culturally appropriate format for displaying numbers, currency, and percentages.
Public Property Parent Gets the CultureInfo object that represents the parent culture of the current CultureInfo object.

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method Static GetCultures Gets the list of supported cultures filtered by the specified CultureTypes values.
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString Returns a string that contains the name of the current CultureInfo object, in the format "<languagecode2>-<country/regioncode2>".

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

CultureInfo Class
System.Globalization Namespace