Compartir a través de

PSHost.CurrentUICulture Property


Gets the host's UI culture: the culture that the runspace and cmdlets should use to do resource loading.

The runspace will set the thread current ui culture to this value each time it starts a pipeline.

 abstract property System::Globalization::CultureInfo ^ CurrentUICulture { System::Globalization::CultureInfo ^ get(); };
public abstract System.Globalization.CultureInfo CurrentUICulture { get; }
member this.CurrentUICulture : System.Globalization.CultureInfo
Public MustOverride ReadOnly Property CurrentUICulture As CultureInfo

Property Value

A CultureInfo object representing the host's current UI culture. Returning null is not allowed.

Applies to