Retrieves whether this is a Retval parameter.
[Visual Basic] Public ReadOnly Property IsRetval As Boolean [C#] public bool IsRetval {get;} [C++] public: __property bool get_IsRetval(); [JScript] public function get IsRetval() : Boolean;
Read-only.
Retrieves whether Retval is set for this parameter.
true if the parameter is a Retval; otherwise, false.
This method depends on an optional metadata flag. This flag may be inserted by compilers, but the compilers are not obligated to do so.
This method utilizes the ParameterAttributes.Retval method.
To get the ParameterInfo array, first get the method. From the method, get the Type. From the Type, get the ParameterInfo array.
If the parameter is a Retval parameter, the IsRetval is True. Otherwise it is False.
ParameterInfo Class | ParameterInfo Members | System.Reflection Namespace