語言

DialogContext.GetLocale 方法

定義

取得 DialogContext 中的 CultureInfo。

public string GetLocale();
member this.GetLocale : unit -> string
Public Function GetLocale () As String

傳回

一個代表當前地點的字串。

例外狀況

當沒有解決地點且沒有提供預設的工廠值時會丟出。

適用於