IMethodMessage.GetArg(Int32) Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a specific argument as an Object.
public:
 System::Object ^ GetArg(int argNum);public object GetArg(int argNum);[System.Security.SecurityCritical]
public object GetArg(int argNum);abstract member GetArg : int -> obj[<System.Security.SecurityCritical>]
abstract member GetArg : int -> objPublic Function GetArg (argNum As Integer) As ObjectParameters
- argNum
- Int32
The number of the requested argument.
Returns
The argument passed to the method.
- Attributes
Exceptions
The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.