Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

Sys.CultureInfo Class

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

Namespace: Sys

Inherits: None

Syntax

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

Members

Name

Description

CurrentCulture Field

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

dateTimeFormat Field

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

InvariantCulture Field

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

name Field

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

numberFormat Field

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 Using the CultureInfo Class.