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 -> obj
Public Function GetArg (argNum As Integer) As Object
Parameters
- 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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.