IMethodMessage.Args Property
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 an array of arguments passed to the method.
public:
property cli::array <System::Object ^> ^ Args { cli::array <System::Object ^> ^ get(); };
public object[] Args { get; }
public object[] Args { [System.Security.SecurityCritical] get; }
member this.Args : obj[]
[<get: System.Security.SecurityCritical>]
member this.Args : obj[]
Public ReadOnly Property Args As Object()
Property Value
An Object array containing the arguments passed to the method.
- Attributes
Exceptions
The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.
Remarks
Although the Args property is redundant since the same functionality can be achieved through the ArgCount and GetArg, there might be performance optimization available if the implementer understands when all the arguments will be retrieved.