_EventInfo 介面

定義

重要

此 API 不符合 CLS 規範。

公開 EventInfo 類別的公用成員至 Unmanaged 程式碼。

public interface class _EventInfo
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("9DE59C64-D889-35A1-B897-587D74469E5B")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface _EventInfo
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("9DE59C64-D889-35A1-B897-587D74469E5B")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.ComVisible(true)]
public interface _EventInfo
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("9DE59C64-D889-35A1-B897-587D74469E5B")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type _EventInfo = interface
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("9DE59C64-D889-35A1-B897-587D74469E5B")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type _EventInfo = interface
Public Interface _EventInfo
衍生
屬性

備註

此介面適用於從 Unmanaged 程式代碼存取 Managed 類別,不應從 Managed 程式代碼呼叫。

這個介面會保留非受控 COM 物件可存取之類別成員的 System.Reflection.EventInfo vtable 順序。

屬性

Attributes

為 COM 物件提供與版本無關的 Attributes 屬性之存取權。

DeclaringType

為 COM 物件提供與版本無關的 DeclaringType 屬性之存取權。

EventHandlerType

為 COM 物件提供與版本無關的 EventHandlerType 屬性之存取權。

IsMulticast

為 COM 物件提供與版本無關的 IsMulticast 屬性之存取權。

IsSpecialName

為 COM 物件提供與版本無關的 IsSpecialName 屬性之存取權。

MemberType

為 COM 物件提供與版本無關的 MemberType 屬性之存取權。

Name

為 COM 物件提供與版本無關的 Name 屬性之存取權。

ReflectedType

為 COM 物件提供與版本無關的 ReflectedType 屬性之存取權。

方法

AddEventHandler(Object, Delegate)

為 COM 物件提供與版本無關的 AddEventHandler(Object, Delegate) 方法之存取權。

Equals(Object)

為 COM 物件提供與版本無關的 Equals(Object) 方法之存取權。

GetAddMethod()

為 COM 物件提供與版本無關的 GetAddMethod() 方法之存取權。

GetAddMethod(Boolean)

為 COM 物件提供與版本無關的 GetAddMethod(Boolean) 方法之存取權。

GetCustomAttributes(Boolean)

為 COM 物件提供與版本無關的 GetCustomAttributes(Boolean) 方法之存取權。

GetCustomAttributes(Type, Boolean)

為 COM 物件提供與版本無關的 GetCustomAttributes(Type, Boolean) 方法之存取權。

GetHashCode()

為 COM 物件提供與版本無關的 GetHashCode() 方法之存取權。

GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

將一組名稱對應至一組對應的分派識別項 (Dispatch Identifier)。

GetRaiseMethod()

為 COM 物件提供與版本無關的 GetRaiseMethod() 方法之存取權。

GetRaiseMethod(Boolean)

為 COM 物件提供與版本無關的 GetRaiseMethod(Boolean) 方法之存取權。

GetRemoveMethod()

為 COM 物件提供與版本無關的 GetRemoveMethod() 方法之存取權。

GetRemoveMethod(Boolean)

為 COM 物件提供與版本無關的 GetRemoveMethod(Boolean) 方法之存取權。

GetType()

為 COM 物件提供與版本無關的 GetType() 方法之存取權。

GetTypeInfo(UInt32, UInt32, IntPtr)

擷取物件的類型資訊,可以用來取得介面的類型資訊。

GetTypeInfoCount(UInt32)

擷取物件提供的類型資訊介面數目 (0 或 1)。

Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

提供物件所公開的屬性和方法的存取權。

IsDefined(Type, Boolean)

為 COM 物件提供與版本無關的 IsDefined(Type, Boolean) 方法之存取權。

RemoveEventHandler(Object, Delegate)

為 COM 物件提供與版本無關的 RemoveEventHandler(Object, Delegate) 方法之存取權。

ToString()

為 COM 物件提供與版本無關的 ToString() 方法之存取權。

適用於