次の方法で共有


IVsDataObjectChangeEvents.ObjectChanged Event

Occurs when a data object is changed.

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

Syntax

'宣言
Event ObjectChanged As EventHandler(Of DataObjectChangedEventArgs)
'使用
Dim instance As IVsDataObjectChangeEvents
Dim handler As EventHandler(Of DataObjectChangedEventArgs)

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

Permissions

See Also

Reference

IVsDataObjectChangeEvents Interface

IVsDataObjectChangeEvents Members

Microsoft.VisualStudio.Data.Services Namespace