Export (0) Print
Expand All
Expand Minimize

ListView::IPersistedSelector::DataKey Property

Gets or sets the data-key value for the selected record in a data-bound control.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

private:
virtual property DataKey^ DataKey {
	DataKey^ get () sealed = IPersistedSelector::DataKey::get;
	void set (DataKey^ value) sealed = IPersistedSelector::DataKey::set;
}

Property Value

Type: System.Web.UI.WebControls::DataKey
The data-key value for the selected record in a data-bound control.

Implements

IPersistedSelector::DataKey

This member is an explicit interface member implementation. It can be used only when the ListView instance is cast to an IPersistedSelector interface.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft