ControllerActionInvoker.GetControllerDescriptor Method
Retrieves information about the controller by using the specified controller context.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Protected Overridable Function GetControllerDescriptor ( _
controllerContext As ControllerContext _
) As ControllerDescriptor
protected virtual ControllerDescriptor GetControllerDescriptor(
ControllerContext controllerContext
)
protected:
virtual ControllerDescriptor^ GetControllerDescriptor(
ControllerContext^ controllerContext
)
Parameters
- controllerContext
Type: System.Web.Mvc.ControllerContext
The controller context.
Return Value
Type: System.Web.Mvc.ControllerDescriptor
Information about the controller.