语言

ComAwareEventInfo(Type, String) 构造函数

定义

使用指定类型和类型上的事件名称初始化类的新实例 ComAwareEventInfo 。

public:
 ComAwareEventInfo(Type ^ type, System::String ^ eventName);
public ComAwareEventInfo(Type type, string eventName);
new System.Runtime.InteropServices.ComAwareEventInfo : Type * string -> System.Runtime.InteropServices.ComAwareEventInfo
Public Sub New (type As Type, eventName As String)

参数

type
Type

对象的类型。

eventName
String

上 type事件的名称。

适用于