HttpCachePolicy.GetNoTransforms 方法

定義

取得 HTTP No-Transform 指示詞的狀態。Gets the status of the HTTP No-Transform Directive.

public:
 bool GetNoTransforms();
public bool GetNoTransforms ();
member this.GetNoTransforms : unit -> bool
Public Function GetNoTransforms () As Boolean

傳回

Boolean

若已設定 HTTP No-Transform 指示詞,則為 true,否則為 falsetrue if the HTTP No-Transform Directive is set; otherwise, false.

備註

啟用 Cache-Control HTTP 標頭的傳送。Enables the sending of the Cache-Control HTTP header.

適用於