MethodInfo.ReturnParameter Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets a ParameterInfo object that contains information about the return type of the method, such as whether the return type has custom modifiers.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System.Reflection.ParameterInfoA ParameterInfo object that contains information about the return type.
| Exception | Condition |
|---|---|
| NotImplementedException | This method is not implemented. |
Compiler designers can use the ParameterInfo object returned by this property to discover whether custom modifiers have been applied to the return type.
Version Notes
Windows Phone
The ReturnParameter property is present but not supported in Windows Phone. If you call ReturnParameter, a NotSupportedException is thrown.
Show: