Export (0) Print
Expand All

TempFileCollection.AddExtension Method

Adds a file name with the specified file name extension to the collection.

Overload List

Adds a file name with the specified file name extension to the collection.

[Visual Basic] Overloads Public Function AddExtension(String) As String
[C#] public string AddExtension(string);
[C++] public: String* AddExtension(String*);
[JScript] public function AddExtension(String) : String;

Adds a file name with the specified file name extension to the collection, using the specified value indicating whether the file should be deleted or retained.

[Visual Basic] Overloads Public Function AddExtension(String, Boolean) As String
[C#] public string AddExtension(string, bool);
[C++] public: String* AddExtension(String*, bool);
[JScript] public function AddExtension(String, Boolean) : String;

See Also

TempFileCollection Class | TempFileCollection Members | System.CodeDom.Compiler Namespace

Show:
© 2015 Microsoft