MethodInfo.ReturnParameter Property

Definition

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

public:
 virtual property System::Reflection::ParameterInfo ^ ReturnParameter { System::Reflection::ParameterInfo ^ get(); };
public virtual System.Reflection.ParameterInfo ReturnParameter { get; }
member this.ReturnParameter : System.Reflection.ParameterInfo
Public Overridable ReadOnly Property ReturnParameter As ParameterInfo

Property Value

ParameterInfo

A ParameterInfo object that contains information about the return type.

Exceptions

This method is not implemented.

Remarks

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

Applies to

See also