DataViewBrowseObject.GetEvents Method
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
'Declaration
Public Function GetEvents As EventDescriptorCollection
'Usage
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()
.NET Framework Security
- 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.