ITextDocumentFactoryService.TextDocumentCreated Event
Occurs when an ITextDocument is created.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'宣告
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 does not support events.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.