DynamicRecord.ICustomTypeDescriptor.GetDefaultEvent Method

Returns the default event for this instance of a component.

Namespace:  WebMatrix.Data
Assembly:  WebMatrix.Data (in WebMatrix.Data.dll)

Syntax

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

returnValue = CType(instance, ICustomTypeDescriptor).GetDefaultEvent()
EventDescriptor ICustomTypeDescriptor.GetDefaultEvent()
private:
virtual EventDescriptor^ GetDefaultEvent() sealed = ICustomTypeDescriptor::GetDefaultEvent
private abstract GetDefaultEvent : unit -> EventDescriptor  
private override GetDefaultEvent : unit -> EventDescriptor
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

Type: System.ComponentModel.EventDescriptor
null reference (Nothing in Visual Basic) in all cases.

Implements

ICustomTypeDescriptor.GetDefaultEvent()

Remarks

This member is an explicit interface member implementation. It can be used only when the DynamicRecord instance is cast to an ICustomTypeDescriptor interface.

See Also

Reference

DynamicRecord Class

WebMatrix.Data Namespace