ComAwareEventInfo(Type, String) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
透過使用指定的類型及該類型事件名稱初始化類別的新 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