_PropertyBuilder.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) _PropertyBuilder.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) _PropertyBuilder.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) _PropertyBuilder.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Method

Definition

Provides access to properties and methods exposed by an object.

public:
 void Invoke(System::UInt32 dispIdMember, Guid % riid, System::UInt32 lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
public void Invoke (uint dispIdMember, ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
abstract member Invoke : uint32 *  * uint32 * int16 * nativeint * nativeint * nativeint * nativeint -> unit
Public 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)

Parameters

dispIdMember
UInt32 UInt32 UInt32 UInt32

An identifier of a member.

riid
Guid Guid Guid Guid

Reserved for future use. Must be IID_NULL.

lcid
UInt32 UInt32 UInt32 UInt32

The locale context in which to interpret arguments.

wFlags
Int16 Int16 Int16 Int16

Flags describing the context of the call.

pDispParams
IntPtr IntPtr IntPtr IntPtr

A 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 IntPtr IntPtr IntPtr

A pointer to the location where the result will be stored.

pExcepInfo
IntPtr IntPtr IntPtr IntPtr

A pointer to a structure that contains exception information.

puArgErr
IntPtr IntPtr IntPtr IntPtr

The index of the first argument that has an error.

Remarks

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

Applies to