IComNativeDescriptorHandler.GetEvents Method (Object)

 
obsoleteCodeEntityP:System.ComponentModel.TypeDescriptor.ComObjectType

Gets the events for the specified component.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

EventDescriptorCollection GetEvents(
	object component
)

Parameters

component
Type: System.Object

The component to get events for.

Return Value

Type: System.ComponentModel.EventDescriptorCollection

A collection of event descriptors for component.

System_CAPS_noteNote

This API is now obsolete. The non-obsolete alternative is ComObjectType.

.NET Framework
Available since 1.1
Return to top
Show: