IMethodReturnMessage.GetOutArgName(Int32) 方法

定义

返回标记为 refout 参数的指定参数的名称。Returns the name of the specified argument marked as a ref or an out parameter.

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

参数

index
Int32

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

返回

String

参数名称;或者如果未实现当前方法,则为 nullThe argument name, 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.

适用于