Compartir a través de


ImportCollection.RemoveImport(Import) Method

Definition

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

Applies to