Partager via


ControllerDescriptor.ControllerType Property

Gets the type of the controller.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

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

Property Value

Type: System.Type
The type of the controller.

See Also

Reference

ControllerDescriptor Class

System.Web.Mvc Namespace