IMethodMessage.Args Property

Definition

Gets an array of arguments passed to the method.

public:
 property cli::array <System::Object ^> ^ Args { cli::array <System::Object ^> ^ get(); };
[get: System.Security.SecurityCritical]
public object[] Args { get; }
member this.Args : obj[]
Public ReadOnly Property Args As Object()

Property Value

Object[]

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.

Security

SecurityPermission
for operating with infrastructure code. Demand value: LinkDemand; Permission value: Infrastructure

Applies to