Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpResponse::AddFileDependencies Method (ArrayList^)

 

Adds a group of file names to the collection of file names on which the current response is dependent.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
void AddFileDependencies(
	ArrayList^ filenames
)

Parameters

filenames
Type: System.Collections::ArrayList^

The collection of files to add.

The following example is an ASP.NET page that is output cached. The code for the page creates an ArrayList of file paths, and then passes the ArrayList as the parameter in a call to the AddFileDependencies method. This makes the output cached response invalid if any of the files specified in the ArrayList changes.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft