Partager via


ProjectRootElement.CreateImportElement(String) Method

Definition

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.

Applies to