Share via


ProjectTargetElement.Tasks Property

Gets all child tasks.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Construction
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

Syntax

'Declaration
Public ReadOnly Property Tasks As ICollection(Of ProjectTaskElement)
public ICollection<ProjectTaskElement> Tasks { get; }
public:
property ICollection<ProjectTaskElement^>^ Tasks {
    ICollection<ProjectTaskElement^>^ get ();
}
member Tasks : ICollection<ProjectTaskElement> with get
function get Tasks () : ICollection<ProjectTaskElement>

Property Value

Type: ICollection<ProjectTaskElement>
Returns all child tasks.

.NET Framework Security

See Also

Reference

ProjectTargetElement Class

Microsoft.Build.Construction Namespace