TypeDescriptor.GetEventsFromRegisteredType(Type) Metod

Definition

Hämtar en samling händelser för en angiven typ av komponent.

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

Parametrar

componentType
Type

Målkomponentens Type .

Returer

En EventDescriptorCollection med händelserna för den här komponenten.

Gäller för