MetaTable.GetActionPath Method (String, IList<Object>, String)

Appends query strings to the action path, based on the specified primary key and virtual path.

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

public string GetActionPath(
	string action,
	IList<Object> primaryKeyValues,
	string path


Type: System.String

The name of the action.

Type: System.Collections.Generic.IList<Object>

The list of column values that make up the primary key.

Type: System.String

The virtual path of the action.

Return Value

Type: System.String
The action path for the specified primary key and virtual path, with query-string values appended to it.

The action path is a URL for an action for a specific entity. For more information, see the System.Web.DynamicData.PageAction class overview.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft