ProjectItem.Remove Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the project item from the collection.
public:
void Remove();
public:
void Remove();
void Remove();
[System.Runtime.InteropServices.DispId(206)]
public void Remove ();
[<System.Runtime.InteropServices.DispId(206)>]
abstract member Remove : unit -> unit
Public Sub Remove ()
- Attributes
Remarks
For the ProjectItem object, removes a project item from the project. If ProjectItem.ProjectItems
is not null
— that is, if there's a subdirectory — then Remove removes all of the project items in that directory and its subdirectories.