Method RemoveDocument
RemoveDocument(string)
When implemented by a class, removes document from document collection.
bool RemoveDocument(string file)
Parameters
file
stringFile name of the
Microsoft.CodeAnalysis.Document
.
Returns
- bool
True if document was removed; otherwise false
RemoveDocument(DocumentId)
When implemented by a class, removes document from document collection.
bool RemoveDocument(DocumentId documentId)
Parameters
documentId
DocumentIdId of the
Microsoft.CodeAnalysis.Document
.
Returns
- bool
True if document was removed; otherwise false
RemoveDocument()
Removes current document from document collection.
bool RemoveDocument()
Returns
- bool
True if current document was removed; otherwise false