Share via


DirectRouteFactoryContext.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

public bool TargetIsAction { get; }
public:
property bool TargetIsAction {
    bool get();
}
member TargetIsAction : bool with get
Public 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

DirectRouteFactoryContext Class
System.Web.Mvc.Routing Namespace

Return to top