Bagikan melalui


ProjectStartedEventArgs.Items Property

Gets the list of items for the event.

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

Syntax

'Declaration
Public ReadOnly Property Items As IEnumerable
public IEnumerable Items { get; }
public:
property IEnumerable^ Items {
    IEnumerable^ get ();
}
member Items : IEnumerable with get
function get Items () : IEnumerable

Property Value

Type: System.Collections.IEnumerable
The list of items for the event.

Remarks

The items and metadata accessed through Items are kept up-to-date and can be enumerated throughout the build of the project. However, changing an item in this list will not affect the build process.

Note

This property does not work with multi-proc builds. To get proper results, you can turn off multi-proc building by specifying /m:1 (which is the default).

.NET Framework Security

See Also

Reference

ProjectStartedEventArgs Class

Microsoft.Build.Framework Namespace