Aracılığıyla paylaş


ProjectInstance.RemoveItem(ProjectItemInstance) Method

Definition

Removes an item from the project, if present. Returns true if it was present, false otherwise.

public:
 bool RemoveItem(Microsoft::Build::Execution::ProjectItemInstance ^ item);
public bool RemoveItem (Microsoft.Build.Execution.ProjectItemInstance item);
member this.RemoveItem : Microsoft.Build.Execution.ProjectItemInstance -> bool
Public Function RemoveItem (item As ProjectItemInstance) As Boolean

Parameters

item
ProjectItemInstance

The item to be removed.

Returns

true if the item was present before removal; otherwise, false.

Applies to