共用方式為


Project.AllEvaluatedProperties Property

Gets all properties 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 AllEvaluatedProperties As ICollection(Of ProjectProperty)
public ICollection<ProjectProperty> AllEvaluatedProperties { get; }
public:
property ICollection<ProjectProperty^>^ AllEvaluatedProperties {
    ICollection<ProjectProperty^>^ get ();
}
member AllEvaluatedProperties : ICollection<ProjectProperty> with get
function get AllEvaluatedProperties () : ICollection<ProjectProperty>

Property Value

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

Remarks

These properties are read during the first evaluation pass. Unlike properties returned by the Properties property, these are ordered, and includes any properties subsequently overridden with the same name.

.NET Framework Security

See Also

Reference

Project Class

Microsoft.Build.Evaluation Namespace