Project.RemoveDocument(DocumentId) 方法

定义

创建更新此项目的新实例,不再包含指定的文档。

public:
 Microsoft::CodeAnalysis::Project ^ RemoveDocument(Microsoft::CodeAnalysis::DocumentId ^ documentId);
public Microsoft.CodeAnalysis.Project RemoveDocument (Microsoft.CodeAnalysis.DocumentId documentId);
member this.RemoveDocument : Microsoft.CodeAnalysis.DocumentId -> Microsoft.CodeAnalysis.Project
Public Function RemoveDocument (documentId As DocumentId) As Project

参数

documentId
DocumentId

返回

适用于