Partager via


ProjectTargetInstance.Tasks Property

Gets all the tasks that are immediate children of this target.

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.Execution
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

Syntax

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

Property Value

Type: ICollection<ProjectTaskInstance>
Returns all the tasks that are immediate children of this target.

.NET Framework Security

See Also

Reference

ProjectTargetInstance Class

Microsoft.Build.Execution Namespace