Partager via


Project.AddNewItemGroup Method

Definition

Adds a new <ItemGroup> element to the project, and returns the corresponding BuildItemGroup object which can then be populated with items or anything else that might belong inside an <ItemGroup>.

public:
 Microsoft::Build::BuildEngine::BuildItemGroup ^ AddNewItemGroup();
public Microsoft.Build.BuildEngine.BuildItemGroup AddNewItemGroup ();
member this.AddNewItemGroup : unit -> Microsoft.Build.BuildEngine.BuildItemGroup
Public Function AddNewItemGroup () As BuildItemGroup

Returns

Applies to