IMethodMessage.GetArgName(Int32) 方法

定义

获取传递给该方法的参数的名称。Gets the name of the argument passed to the method.

public:
 System::String ^ GetArgName(int index);
[System.Security.SecurityCritical]
public string GetArgName (int index);
abstract member GetArgName : int -> string
Public Function GetArgName (index As Integer) As String

参数

index
Int32

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

返回

传递给该方法的指定参数的名称;如果未实现当前方法,则为 nullThe name of the specified argument passed to the method, or null if the current method is not implemented.

属性

异常

直接调用方通过引用接口进行调用,且没有基础结构权限。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

适用于