IMethodMessage.GetArg(Int32) 方法

定义

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

参数

argNum
Int32

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

返回

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

属性

异常

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

安全性

SecurityPermission
用于处理基础结构代码。for operating with infrastructure code. 要求值: LinkDemand;权限值:InfrastructureDemand value: LinkDemand; Permission value: Infrastructure

适用于