DynamicDataRoute.GetActionFromRouteData(RouteData) Method

Definition

Returns the action from the RouteData object for the current Dynamic Data Web request.

public:
 System::String ^ GetActionFromRouteData(System::Web::Routing::RouteData ^ routeData);
public string GetActionFromRouteData (System.Web.Routing.RouteData routeData);
member this.GetActionFromRouteData : System.Web.Routing.RouteData -> string

Parameters

routeData
RouteData

The route data that pertains to the current request. For more information, see GetRouteData(HttpContextBase).

Returns

The action. For a list of possible values, see PageAction.

Exceptions

The action was not found in the Web request routing information.

Applies to