Page.FileDependencies 属性

定义

注意

The recommended alternative is HttpResponse.AddFileDependencies. http://go.microsoft.com/fwlink/?linkid=14202

设置当前的 HttpResponse 对象所依赖的文件的数组。

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

属性值

当前的 HttpResponse 对象所依赖的文件的数组。

属性

注解

此属性已弃用。 AddFileDependencies请改用 类的 HttpResponse 方法或 AddFileDependency 方法。

在大多数情况下,请勿在代码中设置此属性。 使用 FileDependencies .aspx 文件中的 @ Page 指令将 true 属性设置为 。 请求页面时,动态生成的类将设置 属性。

适用于

另请参阅