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


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns the action path for the current table, specified action, and specified primary key.

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

public string GetActionPath(
	string action,
	IList<object> primaryKeyValues


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.

Return Value

Type: System.String

The action path for the specified action and primary key.

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