共用方式為


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

傳回

適用於