Bagikan melalui


Project.Properties Property

Gets an enumerator over all properties in this project. This is an unordered collection.

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

Property Value

Type: ICollection<ProjectProperty>
Returns an enumerator over all properties in this project. Since properties are evaluated as they appear, this is an unordered collection.

.NET Framework Security

See Also

Reference

Project Class

Microsoft.Build.Evaluation Namespace