Export (0) Print
Expand All

VCFile.RemoveFile Method

Removes a file from the current project or folder.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

void RemoveFile(
	Object File


Type: System.Object

Required. The file to remove.

RemoveFile can be called on a VCProject or VCFilter object. Either removes the file from both its current folder, if one exists, and the project. RemoveFile does not delete the file from disk.

© 2014 Microsoft