MethodInfo.ReturnParameter Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for