|  | This document is archived and information here might be outdated. Recommended version. | 
Sets value for an argument in a message.
[Visual Basic .NET]
Public Sub setArgument ( _
    ByVal nIndex As Integer, _
    ByRef pValue As Object _
)
[C#]
public void setArgument (
    int nIndex,
    ref object pValue
);
[C++]
HRESULT setArgument(
  Long nIndex,
  Variant* pValue
);
[C++] Parameters nIndex [in]
nIndex is a parameter of type int pValue [in]
pValue is a parameter of type VARIANT*