Project.AddNewImport(String, 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.
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.