ControllerContext::Controller Property

 

Gets or sets the controller.

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

public:
property ControllerBase^ Controller {
	virtual ControllerBase^ get();
	virtual void set(ControllerBase^ value);
}

Property Value

Type: System.Web.Mvc::ControllerBase^

The controller.

Return to top
Show: