次の方法で共有


ProjectRootElement.CreateUsingTaskBodyElement(String, String) Method

Definition

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.

Applies to