NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

CultureInfo Constructor (Int32)

Initializes a new instance of the CultureInfo class that most closely corresponds to the specified NLS locale identifier.

[Visual Basic]
Overloads Public Sub New( _
   ByVal culture As Integer _
)
[C#]
public CultureInfo(
   int culture
);
[C++]
public: CultureInfo(
   int culture
);
[JScript]
public function CultureInfo(
   culture : int
);

Parameters

culture
The culture identifier contains information about the primary language identifier, sub-language identifier, and sort ID. The culture parameter is mapped to the corresponding NLS locale identifier.

Exceptions

Exception Type Condition
ArgumentException is thrown if culture is not a supported NLS locale identifier.

Remarks

This constructor is provided for ease of integration with NLS-based software.

See Also

CultureInfo Class | CultureInfo Members | System.Globalization Namespace | CultureInfo Constructor Overload List