ProjectRootElement.CreateTaskElement(String) Method

Definition

Creates a task. Caller must add it to the location of choice in this project.

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

Parameters

name
String

The name of the task.

Returns

The task.

Remarks

Caller must add the task to the location of choice in this project.

Applies to