Gets the name of the instance field that will be used as the primary key. Override this property to return a name that differs from the default primary key name "ID".

Namespace:  EPiServer.Web.WebControls
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
protected virtual string KeyName { get; }

See Also