Note: This property is new in the .NET Framework version 2.0.
Gets the
TempFileCollection that contains the temporary files generated on disk after a successful call to the
Load method.
Namespace: System.Xml.Xsl
Assembly: System.Xml (in system.xml.dll)

Syntax
Visual Basic (Declaration)
Public ReadOnly Property TemporaryFiles As TempFileCollection
Dim instance As XslCompiledTransform
Dim value As TempFileCollection
value = instance.TemporaryFiles
public TempFileCollection TemporaryFiles { get; }
public:
property TempFileCollection^ TemporaryFiles {
TempFileCollection^ get ();
}
/** @property */
public TempFileCollection get_TemporaryFiles ()
public function get TemporaryFiles () : TempFileCollection
Property Value
The
TempFileCollection that contains the temporary files generated on disk. This value is a null reference (
Nothing in Visual Basic) if the
Load method has not been successfully called, or if debugging has not been enabled.

Remarks
This property identifies the files that were generated during XSLT processing. The files are placed in your Temp directory (specified by the %TEMP% environment variable) You can delete these files after the XSLT processing has completed.

Example
The following example shows how to delete the temporary files programmatically.
' Load the style sheet for debugging.
Dim xslt As New XslCompiledTransform(true)
xslt.Load("output.xsl")
' Transform the file.
xslt.Transform("books.xml", "output.xml")
' Delete the temporary files.
xslt.TemporaryFiles.Delete()
// Load the style sheet for debugging.
XslCompiledTransform xslt = new XslCompiledTransform(true);
xslt.Load("output.xsl");
// Transform the file.
xslt.Transform("books.xml", "output.xml");
// Delete the temporary files.
xslt.TemporaryFiles.Delete();

Platforms
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information
.NET Framework
Supported in: 2.0

See Also