_TypeBuilder 介面

定義

重要

此 API 不符合 CLS 規範。

TypeBuilder 類別公開到 Unmanaged 程式碼。Exposes the TypeBuilder class to unmanaged code.

public interface class _TypeBuilder
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("7E5678EE-48B3-3F83-B076-C58543498A58")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface _TypeBuilder
type _TypeBuilder = interface
Public Interface _TypeBuilder
衍生
屬性

備註

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

方法

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

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

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.

適用於