DataViewBrowseObject.GetEvents Method ([])

Retrieves a EventDescriptorCollection collection of events that match the specified attributes for the current browse object.

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

Syntax

'宣言
Public Overridable Function GetEvents ( _
    attributes As Attribute() _
) As EventDescriptorCollection
'使用
Dim instance As DataViewBrowseObject
Dim attributes As Attribute()
Dim returnValue As EventDescriptorCollection

returnValue = instance.GetEvents(attributes)
public virtual EventDescriptorCollection GetEvents(
    Attribute[] attributes
)
public:
virtual EventDescriptorCollection^ GetEvents(
    array<Attribute^>^ attributes
)
public function GetEvents(
    attributes : Attribute[]
) : EventDescriptorCollection

Parameters

  • attributes
    Type: []

    An array of Attribute objects as a filter for the events to return.

Return Value

Type: System.ComponentModel.EventDescriptorCollection

Returns an EventDescriptorCollection collection containing the events that match the specified attributes for the current browse object.

Implements

ICustomTypeDescriptor.GetEvents([])

Permissions

See Also

Reference

DataViewBrowseObject Class

DataViewBrowseObject Members

GetEvents Overload

Microsoft.VisualStudio.Data.Framework Namespace

GetEvents