ProjectImportGroupElement.AddImport(String) Method

Definition

Convenience method that picks a location based on a heuristic: Adds a new import after the last import in this import group.

public:
 Microsoft::Build::Construction::ProjectImportElement ^ AddImport(System::String ^ project);
public Microsoft.Build.Construction.ProjectImportElement AddImport (string project);
member this.AddImport : string -> Microsoft.Build.Construction.ProjectImportElement
Public Function AddImport (project As String) As ProjectImportElement

Parameters

project
String

The project to import.

Returns

The new import.

Remarks

Convenience method that picks a location based on a heuristic.

Applies to