ProjectUsingTaskElement.TaskBody Property

Definition

Get any contained TaskElement.

public:
 property Microsoft::Build::Construction::ProjectUsingTaskBodyElement ^ TaskBody { Microsoft::Build::Construction::ProjectUsingTaskBodyElement ^ get(); };
public Microsoft.Build.Construction.ProjectUsingTaskBodyElement TaskBody { get; }
member this.TaskBody : Microsoft.Build.Construction.ProjectUsingTaskBodyElement
Public ReadOnly Property TaskBody As ProjectUsingTaskBodyElement

Property Value

The inner XML content of the inline task, or null if no body exists.

Remarks

The inner XML content is the source code body of the inline task, and is passed directly to the task factory as a string.

Applies to