This documentation is archived and is not being maintained.

IMethodMessage.GetArgName Method

Gets the name of the argument passed to the method.

[Visual Basic]
Function GetArgName( _
   ByVal index As Integer _
) As String
string GetArgName(
   int index
String* GetArgName(
   int index
function GetArgName(
   index : int
) : String;


The number of the requested argument.

Return Value

The name of the specified argument passed to the method, or a null reference (Nothing in Visual Basic) if the current method is not implemented.


Exception Type Condition
SecurityException The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

IMethodMessage Interface | IMethodMessage Members | System.Runtime.Remoting.Messaging Namespace