Retrieves an array of events that the given component instance provides. This may differ from the set of events the class provides. If the component is sited, the site may add or remove additional events. The returned array of events will be filtered by the given set of attributes.
[Visual Basic] Overloads Function GetEvents( _ ByVal attributes() As MemberAttribute _ ) As EventDescriptorCollection [C#] EventDescriptorCollection GetEvents( MemberAttribute[] attributes ); [C++] EventDescriptorCollection* GetEvents( MemberAttribute* attributes[] ) = 0; [JScript] function GetEvents( attributes : MemberAttribute[] ) : EventDescriptorCollection;
an array of events this component surfaces that match the given set of attributes..
ICustomTypeDescriptor Interface | ICustomTypeDescriptor Members | System.ComponentModel Namespace | ICustomTypeDescriptor.GetEvents Overload List