語言

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

適用於