DynamicDataRoute.GetActionFromRouteData Method (RouteData)
.NET Framework (current version)
Returns the action from the RouteData object for the current Dynamic Data Web request.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
Parameters
- routeData
-
Type:
System.Web.Routing.RouteData
The route data that pertains to the current request. For more information, see GetRouteData.
Return Value
Type: System.StringThe action. For a list of possible values, see System.Web.DynamicData.PageAction.
| Exception | Condition |
|---|---|
| InvalidOperationException | The action was not found in the Web request routing information. |
.NET Framework
Available since 3.5
Available since 3.5
Show: