Application.RemoveSupportFiles Method

Remove the server files that would be generated by BuildSupportFiles.

Syntax

void RemoveSupportFiles(string TemplatePath, string templateKey);

Parameters Description
templatePath The file name of the template for which you want to remove files.
templateKey The cache key for this template. This key uniquely identifies the template and is provided by the calling application. This key is only important when templatePath may vary between calls pertaining to the same template. For example, if the template is stored in a document management system (DMS), the template file name may change every time the file is requested from the DMS.