DynamicDataRoute.GetActionFromRouteData(RouteData) Method

Definition

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

C#
public string GetActionFromRouteData (System.Web.Routing.RouteData routeData);

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

产品 版本
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1