Project.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 an item from the main project file.
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
- itemToRemove
- BuildItem