Compartilhar via


Workspace.ApplyProjectReferenceRemoved(ProjectId, ProjectReference) Método

Definição

Esse método é chamado durante TryApplyChanges(Solution) a remoção de uma referência de projeto de um projeto.

Substitua esse método para implementar a capacidade de remover referências de projeto.

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)

Parâmetros

projectId
ProjectId
projectReference
ProjectReference

Aplica-se a