_CustomAttributeBuilder 介面

定義

重要

此 API 不符合 CLS 規範。

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

public interface class _CustomAttributeBuilder
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("BE9ACCE8-AAFF-3B91-81AE-8211663F5CAD")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface _CustomAttributeBuilder
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("BE9ACCE8-AAFF-3B91-81AE-8211663F5CAD")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.ComVisible(true)]
public interface _CustomAttributeBuilder
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("BE9ACCE8-AAFF-3B91-81AE-8211663F5CAD")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type _CustomAttributeBuilder = interface
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("BE9ACCE8-AAFF-3B91-81AE-8211663F5CAD")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type _CustomAttributeBuilder = interface
Public Interface _CustomAttributeBuilder
衍生
屬性

備註

這個介面是用來從非受控碼存取 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.

適用於