次の方法で共有


ProjectItem.Remove Method

Definition

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.

Applies to