Utils::SetCultureInfo Method (CultureInfo^)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Sets the culture of the current thread.

Namespace:   Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public:
[HostProtectionAttribute(SecurityAction::LinkDemand, Resources = HostProtectionResource::SelfAffectingThreading)]
static Object^ SetCultureInfo(
	CultureInfo^ Culture
)

Parameters

Culture
Type: System.Globalization::CultureInfo^

A CultureInfo object to set as the culture of the current thread.

Return Value

Type: System::Object^

The previous value of the CurrentCulture property for the current thread.

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

.NET Framework
Available since 1.1
Return to top
Show: