Partager via


HttpControllerContext.ControllerDescriptor Property

Gets or sets the controller descriptor.

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 HttpControllerContext
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 controller descriptor.

Remarks

This property must be filled in by the IHttpControllerFactory.

See Also

Reference

HttpControllerContext Class

System.Web.Http.Controllers Namespace