HttpControllerContext.Controller Property
Gets or sets the HTTP controller.
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Property Controller As IHttpController
Get
Set
'Usage
Dim instance As HttpControllerContext
Dim value As IHttpController
value = instance.Controller
instance.Controller = value
public IHttpController Controller { get; set; }
public:
property IHttpController^ Controller {
IHttpController^ get ();
void set (IHttpController^ value);
}
member Controller : IHttpController with get, set
function get Controller () : IHttpController
function set Controller (value : IHttpController)
Property Value
Type: System.Web.Http.Controllers.IHttpController
The HTTP controller.
Remarks
This property must be filled in by the IHttpControllerFactory.