_ILGenerator 介面

定義

重要

此 API 不符合 CLS 規範。

ILGenerator 類別公開到 Unmanaged 程式碼。

public interface class _ILGenerator
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("A4924B27-6E3B-37F7-9B83-A4501955E6A7")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface _ILGenerator
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("A4924B27-6E3B-37F7-9B83-A4501955E6A7")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.ComVisible(true)]
public interface _ILGenerator
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("A4924B27-6E3B-37F7-9B83-A4501955E6A7")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type _ILGenerator = interface
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("A4924B27-6E3B-37F7-9B83-A4501955E6A7")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type _ILGenerator = interface
Public Interface _ILGenerator
衍生
屬性

備註

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

方法

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

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

GetTypeInfo(UInt32, UInt32, IntPtr)

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

GetTypeInfoCount(UInt32)

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

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

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

適用於