Solution.RemoveDocument(DocumentId) 方法

定义

创建不再包含指定文档的新解决方案实例。

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

参数

documentId
DocumentId

返回

适用于