Export (0) Print
Expand All

ParameterInfo.IsRetval Property

Gets a value indicating 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;

Property Value

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

Remarks

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.

Requirements

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

Show:
© 2014 Microsoft