DetailsView.IDataItemContainer.DataItemIndex 属性

定义

有关此成员的说明,请参见 DataItemIndexFor a description of this member, see DataItemIndex.

property int System::Web::UI::IDataItemContainer::DataItemIndex { int get(); };
int System.Web.UI.IDataItemContainer.DataItemIndex { get; }
 ReadOnly Property DataItemIndex As Integer Implements IDataItemContainer.DataItemIndex

属性值

返回 DataItemIndex 值。Returns the DataItemIndex value.

实现

注解

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

适用于

另请参阅