NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ParameterInfo.IsRetval

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;

Property Value

Read-only.

Retrieves whether Retval is set for this parameter.

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

Remarks

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.

See Also

ParameterInfo Class | ParameterInfo Members | System.Reflection Namespace