ControllerContext.Controller Property

Gets or sets the controller.

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

'Declaration
Public Overridable Property Controller As ControllerBase 
	Get 
	Set
'Usage
Dim instance As ControllerContext 
Dim value As ControllerBase 

value = instance.Controller

instance.Controller = value

Property Value

Type: System.Web.Mvc.ControllerBase
The controller.
Show: