Freigeben über


Workspace.ApplyProjectReferenceRemoved(ProjectId, ProjectReference) Methode

Definition

Diese Methode wird während TryApplyChanges(Solution) des Entfernens eines Projektverweiss aus einem Projekt aufgerufen.

Überschreiben Sie diese Methode, um die Funktion des Entfernens von Projektbezügen zu implementieren.

protected:
 virtual void ApplyProjectReferenceRemoved(Microsoft::CodeAnalysis::ProjectId ^ projectId, Microsoft::CodeAnalysis::ProjectReference ^ projectReference);
protected virtual void ApplyProjectReferenceRemoved (Microsoft.CodeAnalysis.ProjectId projectId, Microsoft.CodeAnalysis.ProjectReference projectReference);
abstract member ApplyProjectReferenceRemoved : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.ProjectReference -> unit
override this.ApplyProjectReferenceRemoved : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.ProjectReference -> unit
Protected Overridable Sub ApplyProjectReferenceRemoved (projectId As ProjectId, projectReference As ProjectReference)

Parameter

projectId
ProjectId
projectReference
ProjectReference

Gilt für: