共用方式為


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

適用於