DynamicRecord.ICustomTypeDescriptor.GetEvents Method
Returns the events for this instance of a component.
Namespace: WebMatrix.Data
Assembly: WebMatrix.Data (in WebMatrix.Data.dll)
Syntax
'Declaration
Private Function GetEvents As EventDescriptorCollection
Implements ICustomTypeDescriptor.GetEvents
'Usage
Dim instance As DynamicRecord
Dim returnValue As EventDescriptorCollection
returnValue = CType(instance, ICustomTypeDescriptor).GetEvents()
EventDescriptorCollection ICustomTypeDescriptor.GetEvents()
private:
virtual EventDescriptorCollection^ GetEvents() sealed = ICustomTypeDescriptor::GetEvents
private abstract GetEvents : unit -> EventDescriptorCollection
private override GetEvents : unit -> EventDescriptorCollection
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Return Value
Type: System.ComponentModel.EventDescriptorCollection
Empty in all cases.
Implements
ICustomTypeDescriptor.GetEvents()
Remarks
This member is an explicit interface member implementation. It can be used only when the DynamicRecord instance is cast to an ICustomTypeDescriptor interface.