DetailsView.IDataBoundItemControl.DataKey 属性

定义

有关此属性的说明,请参见 DataKeyFor a description of this property, see DataKey.

property System::Web::UI::WebControls::DataKey ^ System::Web::UI::WebControls::IDataBoundItemControl::DataKey { System::Web::UI::WebControls::DataKey ^ get(); };
System.Web.UI.WebControls.DataKey System.Web.UI.WebControls.IDataBoundItemControl.DataKey { get; }
 ReadOnly Property DataKey As DataKey Implements IDataBoundItemControl.DataKey

属性值

表示 DetailsView 控件中行的数据键值的对象。An object that represents the data-key value of the row in the DetailsView control.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 DetailsView 实例被强制转换为 IDataBoundControl 接口时使用。It can be used only when the DetailsView instance is cast to an IDataBoundControl interface.

适用于