共用方式為


IVsDataExplorerConnection.NodeInserted 事件

當節點,在 [伺服器總管] 中,插入時發生。

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

語法

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

.NET Framework 安全性

請參閱

參考

IVsDataExplorerConnection 介面

Microsoft.VisualStudio.Data.Services 命名空間