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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsDataObjectChangeEvents Interface