LGResourceLoader.FallbackLocale(String, IList<String>) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
省略可能なロケールからフォールバック ロケールを取得します。 たとえば、en-us は英語のロケールです。 ただし、オプションロケールには [en, ''] があるため、en が選択されます。
public static string FallbackLocale(string locale, System.Collections.Generic.IList<string> optionalLocales);
static member FallbackLocale : string * System.Collections.Generic.IList<string> -> string
Public Shared Function FallbackLocale (locale As String, optionalLocales As IList(Of String)) As String
パラメーター
- locale
- String
現在のロケール。
戻り値
最終的なロケール。