ProjectTargetElement.AddTask(String) 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.
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.