Sets the specified events for the current browse object.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'宣言
Public Sub SetEvents ( _
ParamArray events As EventDescriptor() _
)
'使用
Dim instance As DataViewBrowseObject
Dim events As EventDescriptor()
instance.SetEvents(events)
public void SetEvents(
params EventDescriptor[] events
)
public:
void SetEvents(
... array<EventDescriptor^>^ events
)
public function SetEvents(
... events : EventDescriptor[]
)
Parameters
events
Type: []An array of EventDescriptor event objects to set.
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.