Workspace.CheckProjectCanBeRemoved(ProjectId) 方法

定义

当前项目始终可以删除,但此方法仍然存在,因为它受到保护,我们不想破坏可能派 Workspace 生自或调用它或重写它的人员。

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

参数

projectId
ProjectId

适用于