共用方式為


IHeaderDictionary.ContentSecurityPolicy 屬性

定義

取得或設定 Content-Security-Policy HTTP 標頭。

public virtual Microsoft.Extensions.Primitives.StringValues ContentSecurityPolicy { get; set; }
member this.ContentSecurityPolicy : Microsoft.Extensions.Primitives.StringValues with get, set
Public Overridable Property ContentSecurityPolicy As StringValues

屬性值

適用於