Edit

Share via


IMethodMessage.GetArg(Int32) Method

Definition

Gets a specific argument as an Object.

public:
 System::Object ^ GetArg(int argNum);
public object GetArg (int argNum);
[System.Security.SecurityCritical]
public object GetArg (int argNum);
abstract member GetArg : int -> obj
[<System.Security.SecurityCritical>]
abstract member GetArg : int -> obj
Public Function GetArg (argNum As Integer) As Object

Parameters

argNum
Int32

The number of the requested argument.

Returns

The argument passed to the method.

Attributes

Exceptions

The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.

Applies to