Share via


ModelValidator.ControllerContext Property

Gets the controller context.

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

Syntax

'Declaration
Protected Friend Property ControllerContext As ControllerContext
    Get
    Private Set
protected internal ControllerContext ControllerContext { get; private set; }
protected public:
property ControllerContext^ ControllerContext {
    ControllerContext^ get ();
    private: void set (ControllerContext^ value);
}

Property Value

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

See Also

Reference

ModelValidator Class

System.Web.Mvc Namespace