Share via


SPDataSourceViewResultItem.ICustomTypeDescriptor.GetEvents method (Attribute[])

Returns the events for this instance of a component using the specified attribute array as a filter.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Private Function GetEvents ( _
    attributes As Attribute() _
) As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents
'Usage
Dim instance As SPDataSourceViewResultItem
Dim attributes As Attribute()
Dim returnValue As EventDescriptorCollection

returnValue = CType(instance, ICustomTypeDescriptor).GetEvents(attributes)
EventDescriptorCollectionICustomTypeDescriptor.GetEvents(
    Attribute[] attributes
)

Parameters

  • attributes
    Type: []

    An array of type [Attribute] that is used as a filter.

Return value

Type: System.ComponentModel.EventDescriptorCollection
An [EventDescriptorCollection] that represents the filtered events for this component instance.

Implements

ICustomTypeDescriptor.GetEvents([])

See also

Reference

SPDataSourceViewResultItem class

SPDataSourceViewResultItem members

GetEvents overload

Microsoft.SharePoint.WebControls namespace