ProjectInstance.RemoveItem(ProjectItemInstance) 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 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
.