次の方法で共有


ProjectStartedEventArgs.Items Property

Definition

List of items in this project. This is a live, read-only list.

public:
 property System::Collections::IEnumerable ^ Items { System::Collections::IEnumerable ^ get(); };
public System.Collections.IEnumerable Items { get; }
public System.Collections.IEnumerable? Items { get; }
public System.Collections.IEnumerable Items { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; }
member this.Items : System.Collections.IEnumerable
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.Items : System.Collections.IEnumerable
Public ReadOnly Property Items As IEnumerable

Property Value

The list of items for the event.

Attributes

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).

Applies to