DialogContext.GetLocale 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得 DialogContext 中的 CultureInfo。
public string GetLocale();
member this.GetLocale : unit -> string
Public Function GetLocale () As String
傳回
一個代表當前地點的字串。
例外狀況
當沒有解決地點且沒有提供預設的工廠值時會丟出。