Partager via


HttpActionDescriptor.ControllerDescriptor Property

Gets the information that describes the controller of the action.

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

Syntax

'Declaration
Public Property ControllerDescriptor As HttpControllerDescriptor
    Get
    Set
'Usage
Dim instance As HttpActionDescriptor
Dim value As HttpControllerDescriptor

value = instance.ControllerDescriptor

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

Property Value

Type: System.Web.Http.Controllers.HttpControllerDescriptor
The information that describes the controller of the action.

See Also

Reference

HttpActionDescriptor Class

System.Web.Http.Controllers Namespace