共用方式為


IProjectionBufferFactoryService.ProjectionBufferCreated 事件

在建立任何 IProjectionBufferIElisionBuffer 時引發。

命名空間:  Microsoft.VisualStudio.Text.Projection
組件:  Microsoft.VisualStudio.Text.Data (在 Microsoft.VisualStudio.Text.Data.dll 中)

語法

'宣告
Event ProjectionBufferCreated As EventHandler(Of TextBufferCreatedEventArgs)
event EventHandler<TextBufferCreatedEventArgs> ProjectionBufferCreated
event EventHandler<TextBufferCreatedEventArgs^>^ ProjectionBufferCreated {
    void add (EventHandler<TextBufferCreatedEventArgs^>^ value);
    void remove (EventHandler<TextBufferCreatedEventArgs^>^ value);
}
abstract ProjectionBufferCreated : IEvent<EventHandler<TextBufferCreatedEventArgs>,
    TextBufferCreatedEventArgs>
JScript 不支援事件。

.NET Framework 安全性

請參閱

參考

IProjectionBufferFactoryService 介面

Microsoft.VisualStudio.Text.Projection 命名空間