This documentation is archived and is not being maintained.

ParameterInfo.IsRetval Property

Gets a value indicating whether this is a Retval parameter.

[Visual Basic]
Public ReadOnly Property IsRetval As Boolean
public bool IsRetval {get;}
public: __property bool get_IsRetval();
public function get IsRetval() : Boolean;

Property Value

true if the parameter is a Retval; otherwise, false.


This method depends on an optional metadata flag. This flag can be inserted by compilers, but the compilers are not obligated to do so.

This method utilizes the Retval flag of the ParameterAttributes enumerator.

To get the ParameterInfo array, first get the method or the constructor and then call MethodBase.GetParameters.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ParameterInfo Class | ParameterInfo Members | System.Reflection Namespace