PSHost.CurrentCulture Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the host's culture: the culture that the runspace should use to set the CurrentCulture on new threads.
public:
abstract property System::Globalization::CultureInfo ^ CurrentCulture { System::Globalization::CultureInfo ^ get(); };
public abstract System.Globalization.CultureInfo CurrentCulture { get; }
member this.CurrentCulture : System.Globalization.CultureInfo
Public MustOverride ReadOnly Property CurrentCulture As CultureInfo
Property Value
A CultureInfo object representing the host's current culture. Returning null is not allowed.
Remarks
The runspace will set the thread current culture to this value each time it starts a pipeline. Thus, cmdlets are encouraged to use Thread.CurrentThread.CurrentCulture.