ITextEditorFactoryService.TextViewCreated 事件
時引發ITextView就會建立。
命名空間: Microsoft.VisualStudio.Text.Editor
組件: Microsoft.VisualStudio.Text.UI.Wpf (在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)
語法
'宣告
Event TextViewCreated As EventHandler(Of TextViewCreatedEventArgs)
event EventHandler<TextViewCreatedEventArgs> TextViewCreated
event EventHandler<TextViewCreatedEventArgs^>^ TextViewCreated {
void add (EventHandler<TextViewCreatedEventArgs^>^ value);
void remove (EventHandler<TextViewCreatedEventArgs^>^ value);
}
abstract TextViewCreated : IEvent<EventHandler<TextViewCreatedEventArgs>,
TextViewCreatedEventArgs>
JScript 不支援事件。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。