共用方式為


IHttpResponseFeature.Headers 屬性

定義

取得或設定要傳送的回應標頭。 具有多個值的標頭將會發出為多個標頭。

public:
 property Microsoft::AspNetCore::Http::IHeaderDictionary ^ Headers { Microsoft::AspNetCore::Http::IHeaderDictionary ^ get(); void set(Microsoft::AspNetCore::Http::IHeaderDictionary ^ value); };
public Microsoft.AspNetCore.Http.IHeaderDictionary Headers { get; set; }
member this.Headers : Microsoft.AspNetCore.Http.IHeaderDictionary with get, set
Public Property Headers As IHeaderDictionary

屬性值

適用於