Workspace.ApplyProjectReferenceRemoved(ProjectId, ProjectReference) メソッド

定義

このメソッドは、プロジェクトからプロジェクト参照を削除するために呼 TryApplyChanges(Solution) び出されます。

プロジェクト参照を削除する機能を実装するには、このメソッドをオーバーライドします。

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)

パラメーター

projectId
ProjectId
projectReference
ProjectReference

適用対象