共用方式為


RequestLocalizationOptions.AddSupportedUICultures(String[]) 方法

定義

新增應用程式所支援 UI 文化特性的集合。

public:
 Microsoft::AspNetCore::Builder::RequestLocalizationOptions ^ AddSupportedUICultures(... cli::array <System::String ^> ^ uiCultures);
public Microsoft.AspNetCore.Builder.RequestLocalizationOptions AddSupportedUICultures (params string[] uiCultures);
member this.AddSupportedUICultures : string[] -> Microsoft.AspNetCore.Builder.RequestLocalizationOptions
Public Function AddSupportedUICultures (ParamArray uiCultures As String()) As RequestLocalizationOptions

參數

uiCultures
String[]

要新增的 UI 文化特性。

傳回

RequestLocalizationOptions

適用於