IMethodMessage.GetArgName(Int32) 方法

定义

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

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

参数

index
Int32

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

返回

String

传递给该方法的指定参数的名称;如果未实现当前方法,则为 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.

适用于