Workspace.ApplyMetadataReferenceRemoved(ProjectId, MetadataReference) Méthode

Définition

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

Substituez cette méthode pour implémenter la fonctionnalité de suppression des références de métadonnées.

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

Paramètres

projectId
ProjectId
metadataReference
MetadataReference

S’applique à