IMethodMessage.GetArg(Int32) Method

Definition

Gets a specific argument as an Object.

public:
 System::Object ^ GetArg(int argNum);
[System.Security.SecurityCritical]
public object GetArg (int argNum);
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.

Security

SecurityPermission
for operating with infrastructure code. Demand value: LinkDemand; Permission value: Infrastructure

Applies to