DynamicRecord.ICustomTypeDescriptor.GetEvents Method (Attribute[])
Returns the events for this instance of a component by using the specified filter.
Namespace: WebMatrix.Data
Assembly: WebMatrix.Data (in WebMatrix.Data.dll)
Syntax
'Declaration
Private Function GetEvents ( _
attributes As Attribute() _
) As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents
'Usage
Dim instance As DynamicRecord
Dim attributes As Attribute()
Dim returnValue As EventDescriptorCollection
returnValue = CType(instance, ICustomTypeDescriptor).GetEvents(attributes)
EventDescriptorCollection ICustomTypeDescriptor.GetEvents(
Attribute[] attributes
)
private:
virtual EventDescriptorCollection^ GetEvents(
array<Attribute^>^ attributes
) sealed = ICustomTypeDescriptor::GetEvents
private abstract GetEvents :
attributes:Attribute[] -> EventDescriptorCollection
private override GetEvents :
attributes:Attribute[] -> EventDescriptorCollection
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- attributes
Type: System.Attribute[]
An array that is used as a filter. The value of this parameter is ignored by this implementation and does not affect the outcome of this method.
Return Value
Type: System.ComponentModel.EventDescriptorCollection
Empty in all cases.
Implements
ICustomTypeDescriptor.GetEvents(Attribute[])
Remarks
This member is an explicit interface member implementation. It can be used only when the DynamicRecord instance is cast to an ICustomTypeDescriptor interface.