Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


_ModuleBuilder.Invoke Method

Definition

Provides access to properties and methods exposed by an object.

public void Invoke (uint dispIdMember, ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);

Parameters

dispIdMember
UInt32

An identifier of a member.

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

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

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

pExcepInfo
IntPtr

A pointer to a structure that contains exception information.

puArgErr
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, see IDispatch::Invoke.

Applies to

Termék Verziók
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1