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 包含此组件的事件。

适用于