ProjectRootElement.CreateUsingTaskBodyElement(String, 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 element for use in a using task. Caller must add it to the location of choice in the project under a using task.
public:
Microsoft::Build::Construction::ProjectUsingTaskBodyElement ^ CreateUsingTaskBodyElement(System::String ^ evaluate, System::String ^ body);
public Microsoft.Build.Construction.ProjectUsingTaskBodyElement CreateUsingTaskBodyElement (string evaluate, string body);
member this.CreateUsingTaskBodyElement : string * string -> Microsoft.Build.Construction.ProjectUsingTaskBodyElement
Public Function CreateUsingTaskBodyElement (evaluate As String, body As String) As ProjectUsingTaskBodyElement
Parameters
- evaluate
- String
The string to evaluate.
- body
- String
The body to add.
Returns
The task.
Remarks
Caller must add the task to the UsingTask element of choice in the project.