ProjectItem.Remove Method
Removes the project item from the collection.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
Sub Remove
void Remove()
void Remove()
abstract Remove : unit -> unit
function Remove()
Remarks
For the ProjectItem object, removes a project item from the project. If ProjectItem.ProjectItems is not nulla null reference (Nothing in Visual Basic) — that is, if there's a subdirectory — then Remove removes all of the project items in that directory and its subdirectories.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.