BuildItemGroup.RemoveItem(BuildItem) 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 given BuildItem from this BuildItemGroup. If item is not in this group, does nothing.
public:
void RemoveItem(Microsoft::Build::BuildEngine::BuildItem ^ itemToRemove);
public void RemoveItem (Microsoft.Build.BuildEngine.BuildItem itemToRemove);
member this.RemoveItem : Microsoft.Build.BuildEngine.BuildItem -> unit
Public Sub RemoveItem (itemToRemove As BuildItem)
Parameters
Remarks
Warning
This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution