MetaTable.GetDataKeyFromRoute Method

Definition

Retrieves the primary key of the entity from the route values.

public System.Web.UI.WebControls.DataKey GetDataKeyFromRoute();

Returns

The primary-key values of the entities, if they are found; otherwise, null.

Implements

System.Web.DynamicData.IMetaTable.GetDataKeyFromRoute

Remarks

The route values typically come from the request URL query string.

Applies to

製品 バージョン
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1