Share via

MethodInfo.ReturnParameter Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets a ParameterInfo object that contains information about the return type of the method, such as whether the return type has custom modifiers.

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)


Public Overridable ReadOnly Property ReturnParameter As ParameterInfo
public virtual ParameterInfo ReturnParameter { get; }

Property Value

Type: System.Reflection.ParameterInfo
A ParameterInfo object that contains information about the return type.


Exception Condition

This method is not implemented.


Compiler designers can use the ParameterInfo object returned by this property to discover whether custom modifiers, such as IsConst, have been applied to the return type.

Platform Notes

Silverlight for Windows Phone Silverlight for Windows Phone

 The ReturnParameter property is present but not supported in Silverlight for Windows Phone. If you call ReturnParameter, a NotSupportedException is thrown.

Version Information


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0


For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.