แก้ไข

แชร์ผ่าน


_MethodBuilder Interface

Definition

Important

This API is not CLS-compliant.

Exposes the MethodBuilder class to unmanaged code.

public interface class _MethodBuilder
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("007D8A14-FDF3-363E-9A0B-FEC0618260A2")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface _MethodBuilder
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("007D8A14-FDF3-363E-9A0B-FEC0618260A2")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.ComVisible(true)]
public interface _MethodBuilder
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("007D8A14-FDF3-363E-9A0B-FEC0618260A2")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type _MethodBuilder = interface
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("007D8A14-FDF3-363E-9A0B-FEC0618260A2")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type _MethodBuilder = interface
Public Interface _MethodBuilder
Derived
Attributes

Remarks

This interface is for access to managed classes from unmanaged code and should not be called from managed code.

Methods

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

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)

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.

Applies to