This documentation is archived and is not being maintained.

MethodBuilder.System.Runtime.InteropServices._MethodBuilder.Invoke Method

Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)

'Declaration
Private Sub System.Runtime.InteropServices._MethodBuilder.Invoke ( _
	dispIdMember As UInteger, _
	<InAttribute> ByRef riid As Guid, _
	lcid As UInteger, _
	wFlags As Short, _
	pDispParams As IntPtr, _
	pVarResult As IntPtr, _
	pExcepInfo As IntPtr, _
	puArgErr As IntPtr _
) Implements _MethodBuilder.Invoke
'Usage
Dim instance As MethodBuilder
Dim dispIdMember As UInteger
Dim riid As Guid
Dim lcid As UInteger
Dim wFlags As Short
Dim pDispParams As IntPtr
Dim pVarResult As IntPtr
Dim pExcepInfo As IntPtr
Dim puArgErr As IntPtr

CType(instance, _MethodBuilder).Invoke(dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr)
Not applicable.

Parameters

dispIdMember
riid
lcid
wFlags
pDispParams
pVarResult
pExcepInfo
puArgErr

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: