Export (0) Print
Expand All

MethodBuilder.ReturnType Property

.NET Framework 1.1

Retrieves the type of this methods return value.

[Visual Basic]
Overrides Public ReadOnly Property ReturnType As Type
[C#]
public override Type ReturnType {get;}
[C++]
public: __property Type* get_ReturnType();
[JScript]
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).

Requirements

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

Show:
© 2014 Microsoft