다음을 통해 공유


ProjectTargetElement.AddTask(String) Method

Definition

Convenience method to add a task to this target. Adds after any existing task.

public:
 Microsoft::Build::Construction::ProjectTaskElement ^ AddTask(System::String ^ taskName);
public Microsoft.Build.Construction.ProjectTaskElement AddTask (string taskName);
member this.AddTask : string -> Microsoft.Build.Construction.ProjectTaskElement
Public Function AddTask (taskName As String) As ProjectTaskElement

Parameters

taskName
String

The name of the task to add.

Returns

The added task.

Remarks

Convenience method to add a task to this target.

Applies to