次の方法で共有


ProjectUsingTaskElement.AddUsingTaskBody(String, String) Method

Definition

Convenience method that picks a location based on a heuristic: Adds a new TaskBody to the using task to the end of the using task element

public:
 Microsoft::Build::Construction::ProjectUsingTaskBodyElement ^ AddUsingTaskBody(System::String ^ evaluate, System::String ^ taskBody);
public Microsoft.Build.Construction.ProjectUsingTaskBodyElement AddUsingTaskBody (string evaluate, string taskBody);
member this.AddUsingTaskBody : string * string -> Microsoft.Build.Construction.ProjectUsingTaskBodyElement
Public Function AddUsingTaskBody (evaluate As String, taskBody As String) As ProjectUsingTaskBodyElement

Parameters

evaluate
String

A flag which, if true, expands the item and property values in the task body. This flag is true by default.

taskBody
String

The body of the task as a string.

Returns

The new task body.

Applies to