IMethodMessage.GetArg(Int32) 方法

定义

获取作为 Object 的特定参数。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

参数

argNum
Int32

请求的参数的数目。The number of the requested argument.

返回

Object

传递给该方法的参数。The argument passed to the method.

属性

例外

直接调用方通过引用接口进行调用,且没有基础结构权限。The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.

适用于