GetActionPath Method
Collapse the table of content
Expand the table of content

MetaModel::GetActionPath Method (String^, String^, Object^)

 

Returns the action path that is associated with a specific table.

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

public:
virtual String^ GetActionPath(
	String^ tableName,
	String^ action,
	Object^ row
) sealed

Parameters

tableName
Type: System::String^

The name of the table that the action applies to.

action
Type: System::String^

The action to apply to the table.

row
Type: System::Object^

An object that represents a single row of data in a table. row is used to provide values for query-string parameters.

Return Value

Type: System::String^

The URL that is associated with the route.

The route is determined by the combination of the table name and action.

Run an online example of this feature.

The following example shows how to use the GetActionPath(String^, String^, Object^) method to evaluate the routing path (determine the URL) for a specified table. For a complete example, see MetaModel.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.5
Return to top
Show:
© 2016 Microsoft