Solution.RemoveAdditionalDocument(DocumentId) 方法

定义

创建一个新的解决方案实例,该实例不再包含指定的附加文档。

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

参数

documentId
DocumentId

返回

适用于