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

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
)

Parameters

action
Type: System.String

The name of the action.

primaryKeyValues
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

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