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

适用于