HttpResponseBase.AddFileDependency(String) 方法

定義

將單一檔案名稱加入目前回應所依存的檔案名稱的集合。Adds a single file name to the collection of file names on which the current response is dependent.

public:
 virtual void AddFileDependency(System::String ^ filename);
public virtual void AddFileDependency (string filename);
abstract member AddFileDependency : string -> unit
override this.AddFileDependency : string -> unit
Public Overridable Sub AddFileDependency (filename As String)

參數

filename
String

要加入的檔案名稱。The name of the file to add.

例外狀況

永遠。Always.

適用於