Partager via


HttpControllerDescriptor.ControllerType Property

Gets or sets the type of the controller.

Namespace:  System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Property ControllerType As Type
    Get
    Set
'Usage
Dim instance As HttpControllerDescriptor
Dim value As Type

value = instance.ControllerType

instance.ControllerType = value
public Type ControllerType { get; set; }
public:
property Type^ ControllerType {
    Type^ get ();
    void set (Type^ value);
}
member ControllerType : Type with get, set
function get ControllerType () : Type
function set ControllerType (value : Type)

Property Value

Type: System.Type
The type of the controller.

See Also

Reference

HttpControllerDescriptor Class

System.Web.Http.Controllers Namespace