Compartilhar via


Sys.CultureInfo Class

Represents a culture definition that can be applied to objects that accept a culture-related setting.

Namespace: Sys

Inherits: None

var currentCultureInfoObj = Sys.CultureInfo.CurrentCulture;
var dtfCCObject = currentCultureInfoObj.dateTimeFormat;
var invariantCultureInfoObj = Sys.CultureInfo.InvariantCulture;
var dtfICObject = invariantCultureInfoObj.dateTimeFormat;

Constructors

Name

Description

Sys.CultureInfo Constructor

Initializes a new instance of the Sys.CultureInfo class.

Members

Name

Description

Sys.CultureInfo.CurrentCulture Property

Gets an object that contains globalization values for the current culture as sent by the server.

Sys.CultureInfo.dateTimeFormat Property

Gets an object that contains an array of string values that define culture-sensitive formatting and parsing that can be applied to Date type extensions.

Sys.CultureInfo.InvariantCulture Property

Gets an object that contains globalization values for the invariant culture as sent by the server.

Sys.CultureInfo.name Property

Gets the culture value (locale) that represents a language and region.

Sys.CultureInfo.numberFormat Property

Gets an object that contains an array of culture-sensitive formatting and parsing string values that can be applied to Number type extensions.

Remarks

The CultureInfo class represents a culture definition that can be applied to objects that accept a culture-related setting. The client CultureInfo class resembles the .NET Framework CultureInfo class. For more information, see NIB: Using the CultureInfo Class.

See Also

Reference

new Operator

Other Resources

Language Reference