This documentation is archived and is not being maintained.

MethodBuilder.ReturnType Property

.NET Framework 1.1

Retrieves the type of this methods return value.

[Visual Basic]
Overrides Public ReadOnly Property ReturnType As Type
public override Type ReturnType {get;}
public: __property Type* get_ReturnType();
public override function get ReturnType() : Type;

Property Value

Read-only. The type of object this method returns. If the MethodBuilder was defined as having the return type a null reference (Nothing in Visual Basic), the method will be defined to return void. However, ReturnType will return a null reference (Nothing).


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

MethodBuilder Class | MethodBuilder Members | System.Reflection.Emit Namespace