Page.FileDependencies Page.FileDependencies Page.FileDependencies Page.FileDependencies Property

定義

警告

此 API 現已淘汰。

設定目前 HttpResponse 物件相依的檔案陣列。Sets an array of files that the current HttpResponse object is dependent upon.

protected:
 property System::Collections::ArrayList ^ FileDependencies {  void set(System::Collections::ArrayList ^ value); };
[System.Obsolete("The recommended alternative is HttpResponse.AddFileDependencies. http://go.microsoft.com/fwlink/?linkid=14202")]
protected System.Collections.ArrayList FileDependencies { set; }
member this.FileDependencies : System.Collections.ArrayList
Protected Property FileDependencies As ArrayList

屬性值

目前 HttpResponse 物件相依的檔案陣列。The array of files that the current HttpResponse object is dependent upon.

備註

這個屬性已被取代。This property has been deprecated. 使用AddFileDependencies方法或AddFileDependency方法HttpResponse類別。Use the AddFileDependencies method or the AddFileDependency method of the HttpResponse class instead.

在大部分情況下,請勿在程式碼中設定這個屬性。In most circumstances, do not set this property in code. 設定FileDependencies屬性設定為true使用@ Page .aspx 檔案中的指示詞。Set the FileDependencies attribute to true using the @ Page directive in the .aspx file. 當要求網頁時,將屬性設定動態產生的類別。When the page is requested, the dynamically generated class sets the property.

適用於

另請參閱