Compartilhar via


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

See Also

Reference

ProjectItem Interface

EnvDTE Namespace