Muokkaa

Jaa


ModuleBuilder._ModuleBuilder.Invoke Method

Definition

 virtual void System.Runtime.InteropServices._ModuleBuilder.Invoke(System::UInt32 dispIdMember, Guid % riid, System::UInt32 lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr) = System::Runtime::InteropServices::_ModuleBuilder::Invoke;
void _ModuleBuilder.Invoke (uint dispIdMember, ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
abstract member System.Runtime.InteropServices._ModuleBuilder.Invoke : uint32 * Guid * uint32 * int16 * nativeint * nativeint * nativeint * nativeint -> unit
override this.System.Runtime.InteropServices._ModuleBuilder.Invoke : uint32 * Guid * uint32 * int16 * nativeint * nativeint * nativeint * nativeint -> unit
Sub Invoke (dispIdMember As UInteger, ByRef riid As Guid, lcid As UInteger, wFlags As Short, pDispParams As IntPtr, pVarResult As IntPtr, pExcepInfo As IntPtr, puArgErr As IntPtr) Implements _ModuleBuilder.Invoke

Parameters

dispIdMember
UInt32

The member ID.

riid
Guid

Reserved for future use. Must be IID_NULL.

lcid
UInt32

The locale context in which to interpret arguments.

wFlags
Int16

Flags describing the context of the call.

pDispParams
IntPtr

nativeint

Pointer to a structure containing an array of arguments, an array of argument DISPIDs for named arguments, and counts for the number of elements in the arrays.

pVarResult
IntPtr

nativeint

Pointer to the location where the result is to be stored.

pExcepInfo
IntPtr

nativeint

Pointer to a structure that contains exception information.

puArgErr
IntPtr

nativeint

The index of the first argument that has an error.

Implements

Exceptions

The method is called late-bound using the COM IDispatch interface.

Remarks

This method is for access to managed classes from unmanaged code, and should not be called from managed code. For more information, see IDispatch::Invoke.

This member is an explicit interface member implementation. It can be used only when the ModuleBuilder instance is cast to an _ModuleBuilder interface.

Applies to