Share via


ReturnType Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the return type of this method.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property ReturnType As Type
public abstract Type ReturnType { get; }
public:
virtual property Type^ ReturnType {
    Type^ get () abstract;
}
abstract ReturnType : Type with get
abstract function get ReturnType () : Type

Property Value

Type: System. . :: . .Type
The return type of this method.

Remarks

To get the return type property, first get the class Type. From the Type, get the MethodInfo. From the MethodInfo, get the ReturnType.

.NET Framework Security

See Also

Reference

MethodInfo Class

System.Reflection Namespace