Breyta

Deila með


TypeDescriptor.GetEventsFromRegisteredType(Type) Method

Definition

Gets a collection of events for a specified type of component.

public:
 static System::ComponentModel::EventDescriptorCollection ^ GetEventsFromRegisteredType(Type ^ componentType);
public static System.ComponentModel.EventDescriptorCollection GetEventsFromRegisteredType (Type componentType);
static member GetEventsFromRegisteredType : Type -> System.ComponentModel.EventDescriptorCollection
Public Shared Function GetEventsFromRegisteredType (componentType As Type) As EventDescriptorCollection

Parameters

componentType
Type

The Type of the target component.

Returns

An EventDescriptorCollection with the events for this component.

Applies to