ITextDocumentFactoryService.TextDocumentCreated 事件

在创建 ITextDocument 时发生。

命名空间:  Microsoft.VisualStudio.Text
程序集:  Microsoft.VisualStudio.Text.Data(在 Microsoft.VisualStudio.Text.Data.dll 中)

语法

声明
Event TextDocumentCreated As EventHandler(Of TextDocumentEventArgs)
event EventHandler<TextDocumentEventArgs> TextDocumentCreated
event EventHandler<TextDocumentEventArgs^>^ TextDocumentCreated {
    void add (EventHandler<TextDocumentEventArgs^>^ value);
    void remove (EventHandler<TextDocumentEventArgs^>^ value);
}
abstract TextDocumentCreated : IEvent<EventHandler<TextDocumentEventArgs>,
    TextDocumentEventArgs>
JScript 不支持事件。

.NET Framework 安全性

请参阅

参考

ITextDocumentFactoryService 接口

Microsoft.VisualStudio.Text 命名空间