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. 請改用AddFileDependency HttpResponse方法或類別的方法。 AddFileDependenciesUse the AddFileDependencies method or the AddFileDependency method of the HttpResponse class instead.

在大部分的情況下,請勿在程式碼中設定此屬性。In most circumstances, do not set this property in code. 使用 .aspx 檔案中true@ Page指示詞,將屬性設定為。FileDependenciesSet 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.

適用於

另請參閱