Target.RemoveTask(BuildTask) 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 specified Task element from the Target element.
public:
void RemoveTask(Microsoft::Build::BuildEngine::BuildTask ^ taskElement);
public void RemoveTask (Microsoft.Build.BuildEngine.BuildTask taskElement);
member this.RemoveTask : Microsoft.Build.BuildEngine.BuildTask -> unit
Public Sub RemoveTask (taskElement As BuildTask)
Parameters
- taskElement
- BuildTask
The BuildTask object that represents the Task
element to remove from the Target
element.
Remarks
A BuildTask object represents a child Task
element of the Target
element.