Target.RemoveTask(BuildTask) Target.RemoveTask(BuildTask) Target.RemoveTask(BuildTask) Target.RemoveTask(BuildTask) Method

Definition

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 BuildTask BuildTask 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.

Applies to