IPersistedSelector.DataKey Property
TOC
Collapse the table of content
Expand the table of content

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:
property DataKey^ DataKey {
	virtual DataKey^ get() sealed = IPersistedSelector::DataKey::get;
	virtual 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.

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
Available since 3.5
Return to top
Show:
© 2016 Microsoft