Retrieves a EventDescriptorCollection collection of events for the current browse object.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'宣言
Public Function GetEvents As EventDescriptorCollection
'使用
Dim instance As DataViewBrowseObject
Dim returnValue As EventDescriptorCollection
returnValue = instance.GetEvents()
public EventDescriptorCollection GetEvents()
public:
virtual EventDescriptorCollection^ GetEvents() sealed
public final function GetEvents() : EventDescriptorCollection
Return Value
Type: System.ComponentModel.EventDescriptorCollection
Returns a EventDescriptorCollection collection containing the events for the current browse object.
Implements
ICustomTypeDescriptor.GetEvents()
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.