Partager via


Workspace.ApplyProjectReferenceRemoved(ProjectId, ProjectReference) Méthode

Définition

Cette méthode est appelée pendant TryApplyChanges(Solution) la suppression d’une référence de projet d’un projet.

Remplacez cette méthode pour implémenter la possibilité de supprimer des références de projet.

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)

Paramètres

projectId
ProjectId
projectReference
ProjectReference

S’applique à