MethodBuilder.ReturnType Property

 

Gets the return type of the method represented by this MethodBuilder.

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

public override Type ReturnType { get; }

Property Value

Type: System.Type

The return type of the method.

System_CAPS_noteNote

Starting with the .NET Framework 2.0 and the .NET Compact Framework 2.0, this member is inherited from the base class, MethodInfo. See MethodInfo.ReturnType.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Return to top
Show: