ProjectRootElement.CreateImportElement(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.
Creates an import. Caller must add it to the location of choice in the project.
public:
Microsoft::Build::Construction::ProjectImportElement ^ CreateImportElement(System::String ^ project);
public Microsoft.Build.Construction.ProjectImportElement CreateImportElement (string project);
member this.CreateImportElement : string -> Microsoft.Build.Construction.ProjectImportElement
Public Function CreateImportElement (project As String) As ProjectImportElement
Parameters
- project
- String
The project to be imported.
Returns
The created Import element.
Remarks
Caller must add the Import element to the location of choice in the project.