Dela via


TargetResult.Items Property

Gets the items produced by 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 Items As ITaskItem()
public ITaskItem[] Items { get; }
public:
virtual property array<ITaskItem^>^ Items {
    array<ITaskItem^>^ get () sealed;
}
abstract Items : ITaskItem[] with get 
override Items : ITaskItem[] with get
final function get Items () : ITaskItem[]

Property Value

Type: array<Microsoft.Build.Framework.ITaskItem[]
Returns the items produced by this target.

Implements

ITargetResult.Items

Remarks

An ITaskItem has no item-type.

.NET Framework Security

See Also

Reference

TargetResult Class

Microsoft.Build.Execution Namespace