Table of Contents

Method RemoveDocument

Namespace
Alternet.Syntax.Parsers.Roslyn
Assembly
Alternet.Syntax.Parsers.Roslyn.v9.dll

RemoveDocument(string)

When implemented by a class, removes document from document collection.

bool RemoveDocument(string file)

Parameters

file string

File 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 DocumentId

Id of theMicrosoft.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