共用方式為


ITextDocumentFactoryService.TextDocumentDisposed Event

Occurs when an ITextDocument is disposed.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'宣告
Event TextDocumentDisposed As EventHandler(Of TextDocumentEventArgs)
event EventHandler<TextDocumentEventArgs> TextDocumentDisposed
 event EventHandler<TextDocumentEventArgs^>^ TextDocumentDisposed {
    void add (EventHandler<TextDocumentEventArgs^>^ value);
    void remove (EventHandler<TextDocumentEventArgs^>^ value);
}
abstract TextDocumentDisposed : IEvent<EventHandler<TextDocumentEventArgs>,
    TextDocumentEventArgs>
JScript does not support events.

.NET Framework Security

See Also

Reference

ITextDocumentFactoryService Interface

Microsoft.VisualStudio.Text Namespace