Target.AddNewTask(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.
Adds the specified Task element to the Target element.
public:
Microsoft::Build::BuildEngine::BuildTask ^ AddNewTask(System::String ^ taskName);
public Microsoft.Build.BuildEngine.BuildTask AddNewTask (string taskName);
member this.AddNewTask : string -> Microsoft.Build.BuildEngine.BuildTask
Public Function AddNewTask (taskName As String) As BuildTask
Parameters
Returns
A BuildTask object represents a child Task
element of the Target
element.