DialogContext.GetLocale Method
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.
Obtain the CultureInfo in DialogContext.
public string GetLocale ();
member this.GetLocale : unit -> string
Public Function GetLocale () As String
Returns
A string representing the current locale.
Exceptions
Thrown when no locale is resolved and no default value factory is provided.