Method RemoveDocument
- Namespace
- Alternet.Syntax.Parsers.Roslyn.CodeCompletion
- Assembly
- Alternet.Syntax.Parsers.Roslyn.v9.dll
RemoveDocument(string)
Removes document from document collection.
public virtual bool RemoveDocument(string file)
Parameters
file
stringFile name of the
Microsoft.CodeAnalysis.Document
.
Returns
- bool
True if document was removed; otherwise false
RemoveDocument(DocumentId)
Removes current document from document collection.
public bool RemoveDocument(DocumentId documentId)
Parameters
documentId
DocumentIdId of the
Microsoft.CodeAnalysis.Document
.
Returns
- bool
True if document was removed; otherwise false
RemoveDocument()
Removes document from document collection.
public bool RemoveDocument()
Returns
- bool
True if current document was removed; otherwise false