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
Available since 3.5
Return to top