This documentation is archived and is not being maintained.
.NET Framework 1.1
The methods of the TempFileCollection class are listed here. For a complete list of TempFileCollection class members, see the TempFileCollection Members topic.
|AddExtension||Overloaded. Adds a file name with the specified file name extension to the collection.|
|AddFile||Adds the specified file to the collection, using the specified value indicating whether to keep the file after the collection is disposed or when the Delete method is called.|
|CopyTo||Copies the members of the collection to the specified string, beginning at the specified index.|
|Delete||Deletes the temporary files within this collection that were not marked to be kept.|
|Equals (inherited from Object)||Overloaded. Determines whether two Object instances are equal.|
|GetEnumerator||Gets an enumerator that can enumerate the members of the collection.|
|GetHashCode (inherited from Object)||Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.|
|GetType (inherited from Object)||Gets the Type of the current instance.|
|ToString (inherited from Object)||Returns a String that represents the current Object.|
|Dispose||Releases the unmanaged resources used by the TempFileCollection and optionally releases the managed resources.|
|Finalize||Overridden. Attempts to delete the temporary files before this object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax.
|MemberwiseClone (inherited from Object)||Creates a shallow copy of the current Object.|