Workspace.OnProjectReferenceRemoved(ProjectId, ProjectReference) 方法

定义

从主机环境中的项目中删除项目引用时,请调用此方法。

protected public:
 void OnProjectReferenceRemoved(Microsoft::CodeAnalysis::ProjectId ^ projectId, Microsoft::CodeAnalysis::ProjectReference ^ projectReference);
protected internal void OnProjectReferenceRemoved (Microsoft.CodeAnalysis.ProjectId projectId, Microsoft.CodeAnalysis.ProjectReference projectReference);
member this.OnProjectReferenceRemoved : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.ProjectReference -> unit
Protected Friend Sub OnProjectReferenceRemoved (projectId As ProjectId, projectReference As ProjectReference)

参数

projectId
ProjectId
projectReference
ProjectReference

适用于