次の方法で共有


IVsDataObjectChangeEvents.ObjectAdded Event

Occurs when a data object is added.

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'宣言
Event ObjectAdded As EventHandler(Of DataObjectAddedEventArgs)
'使用
Dim instance As IVsDataObjectChangeEvents
Dim handler As EventHandler(Of DataObjectAddedEventArgs)

AddHandler instance.ObjectAdded, handler
event EventHandler<DataObjectAddedEventArgs> ObjectAdded
 event EventHandler<DataObjectAddedEventArgs^>^ ObjectAdded {
    void add (EventHandler<DataObjectAddedEventArgs^>^ value);
    void remove (EventHandler<DataObjectAddedEventArgs^>^ value);
}
JScript does not support events.

Permissions

See Also

Reference

IVsDataObjectChangeEvents Interface

IVsDataObjectChangeEvents Members

Microsoft.VisualStudio.Data.Services Namespace