HttpResponse.AddFileDependencies Method (ArrayList)
Adds a group of file names to the collection of file names on which the current response is dependent.
Assembly: System.Web (in System.Web.dll)
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 method. This makes the output cached response invalid if any of the files specified in the ArrayList changes.
Available since 1.1