共用方式為


RequestLocalizationOptions.SupportedCultures 屬性

定義

應用程式支援的文化特性。 RequestLocalizationMiddleware只會將此清單中的目前要求文化特性設定為專案。 預設值為 CurrentCulture

public:
 property System::Collections::Generic::IList<System::Globalization::CultureInfo ^> ^ SupportedCultures { System::Collections::Generic::IList<System::Globalization::CultureInfo ^> ^ get(); void set(System::Collections::Generic::IList<System::Globalization::CultureInfo ^> ^ value); };
public System.Collections.Generic.IList<System.Globalization.CultureInfo> SupportedCultures { get; set; }
public System.Collections.Generic.IList<System.Globalization.CultureInfo>? SupportedCultures { get; set; }
member this.SupportedCultures : System.Collections.Generic.IList<System.Globalization.CultureInfo> with get, set
Public Property SupportedCultures As IList(Of CultureInfo)

屬性值

適用於