Share via


IDirectRouteBuilder.TargetIsAction Property

 

Gets a value indicating whether the route is configured at the action or controller level.

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

Syntax

bool TargetIsAction { get; }
property bool TargetIsAction {
    bool get();
}
abstract TargetIsAction : bool with get
ReadOnly Property TargetIsAction As Boolean

Property Value

Type: System.Boolean

true when the route is configured at the action level; otherwise, false if the route is configured at the controller level.

See Also

IDirectRouteBuilder Interface
System.Web.Mvc.Routing Namespace

Return to top