Export (0) Print
Expand All

IComNativeDescriptorHandler.GetEvents Method (Object)

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.

NoteNote

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft