Partager via


Project.AllEvaluatedItemDefinitionMetadata Property

Gets all item definition metadata encountered during evaluation.

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 AllEvaluatedItemDefinitionMetadata As ICollection(Of ProjectMetadata)
public ICollection<ProjectMetadata> AllEvaluatedItemDefinitionMetadata { get; }
public:
property ICollection<ProjectMetadata^>^ AllEvaluatedItemDefinitionMetadata {
    ICollection<ProjectMetadata^>^ get ();
}
member AllEvaluatedItemDefinitionMetadata : ICollection<ProjectMetadata> with get
function get AllEvaluatedItemDefinitionMetadata () : ICollection<ProjectMetadata>

Property Value

Type: ICollection<ProjectMetadata>
Returns all item definition metadata encountered during evaluation. This does not include any elements whose conditions did not evaluate to true, nor any item definition metadata added since the last evaluation.

Remarks

Item metadata is read during the second evaluation pass. Unlike metadata returned by the ItemDefinitions property, this metadata is ordered, and includes any metadata subsequently overridden with the same name and item type.

.NET Framework Security

See Also

Reference

Project Class

Microsoft.Build.Evaluation Namespace