ProjectRootElement.CreateTaskElement(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.
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.