Share via


Project.AllEvaluatedItems Property

Gets an enumerator over all items encountered during evaluation. These are read during the third evaluation pass.

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

Syntax

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

Property Value

Type: ICollection<ProjectItem>
Returns an enumerator over all items encountered during evaluation. These are read during the third evaluation pass.

Remarks

Unlike those items returned by the Items property, these are ordered with respect to all other items encountered during evaluation, not just ordered with respect to items of the same item type.

In some applications, this complete mutual ordering is significant, and such hosts can use this property.

The enumeration does not include any elements whose conditions did not evaluate to true, nor does it include any items added since the last evaluation.

.NET Framework Security

See Also

Reference

Project Class

Microsoft.Build.Evaluation Namespace