Export (0) Print
Expand All

CultureInfo Methods

The methods of the CultureInfo class are listed here. For a complete list of CultureInfo class members, see the CultureInfo Members topic.

Public Methods

public methodClearCachedData Refreshes cached culture-related information.
public methodClone

Supported by the .NET Compact Framework.

Creates a copy of the current CultureInfo.
public methodstatic (Shared in Visual Basic)CreateSpecificCulture

Supported by the .NET Compact Framework.

Creates a CultureInfo that represents the specific culture that is associated with the specified name.
public methodEquals

Supported by the .NET Compact Framework.

Overridden. Determines whether the specified object is the same culture as the current CultureInfo.
public methodstatic (Shared in Visual Basic)GetCultures Gets the list of supported cultures filtered by the specified CultureTypes.
public methodGetFormat

Supported by the .NET Compact Framework.

Gets an object that defines how to format the specified type.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. Serves as a hash function for the current CultureInfo, suitable for use in hashing algorithms and data structures, such as a hash table.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodstatic (Shared in Visual Basic)ReadOnly

Supported by the .NET Compact Framework.

Returns a read-only wrapper around the specified CultureInfo.
public methodToString

Supported by the .NET Compact Framework.

Overridden. Returns a string containing the name of the current CultureInfo in the format "<languagecode2>-<country/regioncode2>".

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

CultureInfo Class | System.Globalization Namespace

Show:
© 2014 Microsoft