Partager via


ITargetResult.Items Property

Gets the set of build items output by the 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
ReadOnly Property Items As ITaskItem()
ITaskItem[] Items { get; }
property array<ITaskItem^>^ Items {
    array<ITaskItem^>^ get ();
}
abstract Items : ITaskItem[] with get
function get Items () : ITaskItem[]

Property Value

Type: array<Microsoft.Build.Framework.ITaskItem[]
Returns the set of build items output by the target.

Remarks

ITaskItem's have no item-type.

.NET Framework Security

See Also

Reference

ITargetResult Interface

Microsoft.Build.Execution Namespace