Share via


Project.RemoveDocument(DocumentId) Method

Definition

Creates a new instance of this project updated to no longer include the specified document.

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

Parameters

documentId
DocumentId

Returns

Applies to