แก้ไข

แชร์ผ่าน


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
Public Function GetActionFromRouteData (routeData As RouteData) As 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