Gets the return type. By default this is XhtmlDocument (html). Override this to set another return type, like string or XElement.

Namespace: Composite.AspNet.Razor
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public virtual Type FunctionReturnType { get; }
Visual Basic
Public Overridable ReadOnly Property FunctionReturnType As Type
	Get
Visual C++
public:
virtual property Type^ FunctionReturnType {
	Type^ get ();
}

Examples

public override Type FunctionReturnType { get { return typeof(string); } }

See Also