ProjectImportGroupElement.AddImport(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.