_ParameterBuilder.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Método
Definição
Fornece acesso a propriedades e métodos expostos por um objeto.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 * Guid * 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)
Parâmetros
- dispIdMember
- UInt32
Um identificador de um membro.An identifier of a member.
- riid
- Guid
Reservado para uso futuro.Reserved for future use. Deve ser IID_NULL.Must be IID_NULL.
- lcid
- UInt32
O contexto de localidade no qual interpretar argumentos.The locale context in which to interpret arguments.
- wFlags
- Int16
Sinalizadores que descrevem o contexto da chamada.Flags describing the context of the call.
- pDispParams
- IntPtr
Um ponteiro para uma estrutura contendo uma matriz de argumentos, uma matriz de DISPIDs de argumento para argumentos nomeados e contagens para o número de elementos nas matrizes.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
Um ponteiro para o local em que o resultado será armazenado.A pointer to the location where the result will be stored.
- pExcepInfo
- IntPtr
Um ponteiro para uma estrutura que contém informações de exceção.A pointer to a structure that contains exception information.
- puArgErr
- IntPtr
O índice do primeiro argumento que tem um erro.The index of the first argument that has an error.
Comentários
Esse método é para acesso a classes gerenciadas de código não gerenciado e não deve ser chamado a partir de código gerenciado.This method is for access to managed classes from unmanaged code and should not be called from managed code. Para obter mais informações, consulte IDispatch:: Invoke.For more information, see IDispatch::Invoke.