TypeDescriptor.GetEventsFromRegisteredType(Type) Метод

Определение

Возвращает коллекцию событий для указанного типа компонента.

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

Параметры

componentType
Type

Целевой Type компонент.

Возвращаемое значение

Сведения EventDescriptorCollection о событиях для этого компонента.

Применяется к