asp.net.ph

Response.AddFileDependency Method

System.Web Namespace   HttpResponse Class


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

[ VB ]
Public Sub AddFileDependency ( _
   ByVal filename As String _
)

[ C# ]
public void AddFileDependency (
   string filename
);

[ C++ ]
public: void AddFileDependency (
   String* filename
);

[ JScript ]
public function AddFileDependency (
   filename : String
);

Parameters

filename
The name of the file to add.

Example

The following example adds a single file name to the file dependency list.

String fileName;
fileName = "C:\\Files\\myFile.txt";
Response.AddFileDependency ( fileName );
  C# VB

See Also

HttpResponse Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph