Partilhar via


ProjectRootElement.PropertyGroups Property

Definition

Get a read-only collection of the child property groups, if any. Does not include any that may not be at the root, i.e. inside Choose elements.

public:
 property System::Collections::Generic::ICollection<Microsoft::Build::Construction::ProjectPropertyGroupElement ^> ^ PropertyGroups { System::Collections::Generic::ICollection<Microsoft::Build::Construction::ProjectPropertyGroupElement ^> ^ get(); };
public System.Collections.Generic.ICollection<Microsoft.Build.Construction.ProjectPropertyGroupElement> PropertyGroups { get; }
member this.PropertyGroups : System.Collections.Generic.ICollection<Microsoft.Build.Construction.ProjectPropertyGroupElement>
Public ReadOnly Property PropertyGroups As ICollection(Of ProjectPropertyGroupElement)

Property Value

All the child property groups in this project.

Remarks

Does not include any item groups contained by Choose elements.

Applies to