_EventInfo 介面

定義

重要

此 API 不符合 CLS 規範。

公開 EventInfo 類別的公用成員至 Unmanaged 程式碼。Exposes the public members of the EventInfo class to unmanaged code.

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

備註

這個介面是用來從非受控程式碼存取 managed 類別,不應從 managed 程式碼呼叫。This interface is for access to managed classes from unmanaged code and should not be called from managed code.

這個介面會保留可由非受控System.Reflection.EventInfo COM 物件存取之類別成員的 vtable 順序。This interface preserves the vtable order of the System.Reflection.EventInfo class members that can be accessed by unmanaged COM objects.

屬性

Attributes

為 COM 物件提供與版本無關的 Attributes 屬性之存取權。Provides COM objects with version-independent access to the Attributes property.

DeclaringType

為 COM 物件提供與版本無關的 DeclaringType 屬性之存取權。Provides COM objects with version-independent access to the DeclaringType property.

EventHandlerType

為 COM 物件提供與版本無關的 EventHandlerType 屬性之存取權。Provides COM objects with version-independent access to the EventHandlerType property.

IsMulticast

為 COM 物件提供與版本無關的 IsMulticast 屬性之存取權。Provides COM objects with version-independent access to the IsMulticast property.

IsSpecialName

為 COM 物件提供與版本無關的 IsSpecialName 屬性之存取權。Provides COM objects with version-independent access to the IsSpecialName property.

MemberType

為 COM 物件提供與版本無關的 MemberType 屬性之存取權。Provides COM objects with version-independent access to the MemberType property.

Name

為 COM 物件提供與版本無關的 Name 屬性之存取權。Provides COM objects with version-independent access to the Name property.

ReflectedType

為 COM 物件提供與版本無關的 ReflectedType 屬性之存取權。Provides COM objects with version-independent access to the ReflectedType property.

方法

AddEventHandler(Object, Delegate)

為 COM 物件提供與版本無關的 AddEventHandler(Object, Delegate) 方法之存取權。Provides COM objects with version-independent access to the AddEventHandler(Object, Delegate) method.

Equals(Object)

為 COM 物件提供與版本無關的 Equals(Object) 方法之存取權。Provides COM objects with version-independent access to the Equals(Object) method.

GetAddMethod()

為 COM 物件提供與版本無關的 GetAddMethod() 方法之存取權。Provides COM objects with version-independent access to the GetAddMethod() method.

GetAddMethod(Boolean)

為 COM 物件提供與版本無關的 GetAddMethod(Boolean) 方法之存取權。Provides COM objects with version-independent access to the GetAddMethod(Boolean) method.

GetCustomAttributes(Boolean)

為 COM 物件提供與版本無關的 GetCustomAttributes(Boolean) 方法之存取權。Provides COM objects with version-independent access to the GetCustomAttributes(Boolean) method.

GetCustomAttributes(Type, Boolean)

為 COM 物件提供與版本無關的 GetCustomAttributes(Type, Boolean) 方法之存取權。Provides COM objects with version-independent access to the GetCustomAttributes(Type, Boolean) method.

GetHashCode()

為 COM 物件提供與版本無關的 GetHashCode() 方法之存取權。Provides COM objects with version-independent access to the GetHashCode() method.

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

將一組名稱對應至一組對應的分派識別項 (Dispatch Identifier)。Maps a set of names to a corresponding set of dispatch identifiers.

GetRaiseMethod()

為 COM 物件提供與版本無關的 GetRaiseMethod() 方法之存取權。Provides COM objects with version-independent access to the GetRaiseMethod() method.

GetRaiseMethod(Boolean)

為 COM 物件提供與版本無關的 GetRaiseMethod(Boolean) 方法之存取權。Provides COM objects with version-independent access to the GetRaiseMethod(Boolean) method.

GetRemoveMethod()

為 COM 物件提供與版本無關的 GetRemoveMethod() 方法之存取權。Provides COM objects with version-independent access to the GetRemoveMethod() method.

GetRemoveMethod(Boolean)

為 COM 物件提供與版本無關的 GetRemoveMethod(Boolean) 方法之存取權。Provides COM objects with version-independent access to the GetRemoveMethod(Boolean) method.

GetType()

為 COM 物件提供與版本無關的 GetType() 方法之存取權。Provides COM objects with version-independent access to the GetType() method.

GetTypeInfo(UInt32, UInt32, IntPtr)

擷取物件的類型資訊,可以用來取得介面的類型資訊。Retrieves the type information for an object, which can be used to get the type information for an interface.

GetTypeInfoCount(UInt32)

擷取物件提供的類型資訊介面數目 (0 或 1)。Retrieves the number of type information interfaces that an object provides (either 0 or 1).

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

提供物件所公開的屬性和方法的存取權。Provides access to properties and methods exposed by an object.

IsDefined(Type, Boolean)

為 COM 物件提供與版本無關的 IsDefined(Type, Boolean) 方法之存取權。Provides COM objects with version-independent access to the IsDefined(Type, Boolean) method.

RemoveEventHandler(Object, Delegate)

為 COM 物件提供與版本無關的 RemoveEventHandler(Object, Delegate) 方法之存取權。Provides COM objects with version-independent access to the RemoveEventHandler(Object, Delegate) method.

ToString()

為 COM 物件提供與版本無關的 ToString() 方法之存取權。Provides COM objects with version-independent access to the ToString() method.

適用於