Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CultureInfo Constructor

.NET Framework 1.1

Initializes a new instance of the CultureInfo class.

Overload List

Initializes a new instance of the CultureInfo class based on the culture specified by the culture identifier.

Supported by the .NET Compact Framework.

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

Initializes a new instance of the CultureInfo class based on the culture specified by name.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(String)
[C#] public CultureInfo(string);
[C++] public: CultureInfo(String*);
[JScript] public function CultureInfo(String);

Initializes a new instance of the CultureInfo class based on the culture specified by the culture identifier and on the Boolean that specifies whether to use the user-selected culture settings from the system.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(Integer, Boolean)
[C#] public CultureInfo(int, bool);
[C++] public: CultureInfo(int, bool);
[JScript] public function CultureInfo(int, Boolean);

Initializes a new instance of the CultureInfo class based on the culture specified by name and on the Boolean that specifies whether to use the user-selected culture settings from the system.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(String, Boolean)
[C#] public CultureInfo(string, bool);
[C++] public: CultureInfo(String*, bool);
[JScript] public function CultureInfo(String, Boolean);

See Also

CultureInfo Class | CultureInfo Members | System.Globalization Namespace

Show:
© 2015 Microsoft