Workspace.TextDocumentClosed Event

Definition

An event that is fired when any TextDocument is closed in the editor.

C#
public event EventHandler<Microsoft.CodeAnalysis.TextDocumentEventArgs> TextDocumentClosed;

Event Type

Applies to

Product Versions
Roslyn 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 4.12.2, 4.13.0