Compartilhar via


ProjectRootElement.AddImportGroup Method

Definition

Convenience method that picks a location based on a heuristic: Creates an import group at the end of the project.

public:
 Microsoft::Build::Construction::ProjectImportGroupElement ^ AddImportGroup();
public Microsoft.Build.Construction.ProjectImportGroupElement AddImportGroup ();
member this.AddImportGroup : unit -> Microsoft.Build.Construction.ProjectImportGroupElement
Public Function AddImportGroup () As ProjectImportGroupElement

Returns

The import group created at the end of this project.

Remarks

This convenience method picks a location in the MSBuild DOM based on a heuristic.

Applies to