次の方法で共有


ProjectRootElement.ItemGroups Property

Definition

Get a read-only collection over the child item 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::ProjectItemGroupElement ^> ^ ItemGroups { System::Collections::Generic::ICollection<Microsoft::Build::Construction::ProjectItemGroupElement ^> ^ get(); };
public System.Collections.Generic.ICollection<Microsoft.Build.Construction.ProjectItemGroupElement> ItemGroups { get; }
member this.ItemGroups : System.Collections.Generic.ICollection<Microsoft.Build.Construction.ProjectItemGroupElement>
Public ReadOnly Property ItemGroups As ICollection(Of ProjectItemGroupElement)

Property Value

All the child item groups in this project.

Remarks

Does not include any item groups contained by Choose elements.

Applies to