ImportCollection.RemoveImport(Import) 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.
Removes an import from the project, and removes the corresponding <Import> element from the project's XML.
public:
void RemoveImport(Microsoft::Build::BuildEngine::Import ^ importToRemove);
public void RemoveImport (Microsoft.Build.BuildEngine.Import importToRemove);
member this.RemoveImport : Microsoft.Build.BuildEngine.Import -> unit
Public Sub RemoveImport (importToRemove As Import)
Parameters
- importToRemove
- Import
Remarks
Warning
This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution