Share via


MethodBuilder.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.Emit
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property ReturnParameter As ParameterInfo
public override ParameterInfo ReturnParameter { get; }

Property Value

Type: System.Reflection.ParameterInfo
Information about the return type.

Exceptions

Exception Condition
InvalidOperationException

The declaring type has not been created.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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