共用方式為


RequestLocalizationOptions.ApplyCurrentCultureToResponseHeaders 屬性

定義

取得或設定值,判斷是否 CurrentUICulture 套用至回應 Content-Language 標頭。

public:
 property bool ApplyCurrentCultureToResponseHeaders { bool get(); void set(bool value); };
public bool ApplyCurrentCultureToResponseHeaders { get; set; }
member this.ApplyCurrentCultureToResponseHeaders : bool with get, set
Public Property ApplyCurrentCultureToResponseHeaders As Boolean

屬性值

適用於