IDataBoundControl.DataKeyNames Property
TOC
Collapse the table of content
Expand the table of content

ListView::IDataBoundControl::DataKeyNames Property

.NET Framework (current version)
 

Gets or sets an array that contains the names of the primary-key fields of the items that are displayed in a data-bound control.

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

private:
property array<String^>^ DataKeyNames {
	virtual array<String^>^ get() sealed = IDataBoundControl::DataKeyNames::get;
	virtual void set(array<String^>^ value) sealed = IDataBoundControl::DataKeyNames::set;
}

Property Value

Type: array<System::String^>^

An array that contains the names of the primary-key fields of the items that are displayed 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 IDataBoundControl interface.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft