Partager via


ControllerBase.ControllerContext Property

Gets or sets the controller context.

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

Syntax

'Declaration
Public Property ControllerContext As ControllerContext
    Get
    Set
public ControllerContext ControllerContext { get; set; }
public:
property ControllerContext^ ControllerContext {
    ControllerContext^ get ();
    void set (ControllerContext^ value);
}

Property Value

Type: System.Web.Mvc.ControllerContext
The controller context.

See Also

Reference

ControllerBase Class

System.Web.Mvc Namespace