TargetCollection.RemoveTarget(Target) TargetCollection.RemoveTarget(Target) TargetCollection.RemoveTarget(Target) TargetCollection.RemoveTarget(Target) Method

Definition

Removes the specified Target element from the project.

public:
 void RemoveTarget(Microsoft::Build::BuildEngine::Target ^ targetToRemove);
public void RemoveTarget (Microsoft.Build.BuildEngine.Target targetToRemove);
member this.RemoveTarget : Microsoft.Build.BuildEngine.Target -> unit
Public Sub RemoveTarget (targetToRemove As Target)

Parameters

targetToRemove
Target Target Target Target

The Name attribute of the Target element to remove.

Applies to