DynamicDataRoute::GetActionFromRouteData Method (RouteData^)

 

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

Namespace:   System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

public:
String^ GetActionFromRouteData(
	RouteData^ routeData
)

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::String^

The 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
Return to top
Show: