Share via


SPDataSourceViewResultItem.ICustomTypeDescriptor.GetDefaultEvent method

Returns the default event for this instance of a component.

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

Syntax

'Declaration
Private Function GetDefaultEvent As EventDescriptor
    Implements ICustomTypeDescriptor.GetDefaultEvent
'Usage
Dim instance As SPDataSourceViewResultItem
Dim returnValue As EventDescriptor

returnValue = CType(instance, ICustomTypeDescriptor).GetDefaultEvent()
EventDescriptorICustomTypeDescriptor.GetDefaultEvent()

Return value

Type: System.ComponentModel.EventDescriptor
An [EventDescriptor] that represents the default event for this object, or null if this object does not have events.

Implements

ICustomTypeDescriptor.GetDefaultEvent()

See also

Reference

SPDataSourceViewResultItem class

SPDataSourceViewResultItem members

Microsoft.SharePoint.WebControls namespace