Project.AddNewImport(String, String) Method

Definition

Adds an Import element to the end of the project.

public:
 void AddNewImport(System::String ^ projectFile, System::String ^ condition);
public void AddNewImport (string projectFile, string condition);
member this.AddNewImport : string * string -> unit
Public Sub AddNewImport (projectFile As String, condition As String)

Parameters

projectFile
String

The name of the project file to import. Corresponds to the Project attribute of the Import element.

condition
String

The condition to evaluate before importing the project. Corresponds to the Condition attribute of the Import element.

Applies to