Share via


DirectRouteFactoryContext.ControllerPrefix Property

 

Gets the route prefix, if any, defined by the controller.

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

Syntax

public string ControllerPrefix { get; }
public:
property String^ ControllerPrefix {
    String^ get();
}
member ControllerPrefix : string with get
Public ReadOnly Property ControllerPrefix As String

Property Value

Type: System.String

The route prefix, if any, defined by the controller.

See Also

DirectRouteFactoryContext Class
System.Web.Mvc.Routing Namespace

Return to top