ListView.CreateDataItem(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a data item in the ListView control.
protected:
virtual System::Web::UI::WebControls::ListViewDataItem ^ CreateDataItem(int dataItemIndex, int displayIndex);
protected virtual System.Web.UI.WebControls.ListViewDataItem CreateDataItem (int dataItemIndex, int displayIndex);
abstract member CreateDataItem : int * int -> System.Web.UI.WebControls.ListViewDataItem
override this.CreateDataItem : int * int -> System.Web.UI.WebControls.ListViewDataItem
Protected Overridable Function CreateDataItem (dataItemIndex As Integer, displayIndex As Integer) As ListViewDataItem
Parameters
- dataItemIndex
- Int32
The index of the data item in the underlying data source object.
Returns
A data item that is created by using the specified parameters.
Remarks
This method is primarily used by control developers to extend the ListView control.
Applies to
See also
Sadarbojieties ar mums vietnē GitHub
Šī satura avotu var atrast vietnē GitHub, kur varat arī izveidot un pārskatīt problēmas un atgādāšanas pieprasījumus. Lai iegūtu papildinformāciju, skatiet mūsu līdzstrādnieku rokasgrāmatu.
Atsauksmes
https://aka.ms/ContentUserFeedback.
Drīzumā: 2024. gada laikā mēs pakāpeniski pārtrauksim izmantot “GitHub problēmas” kā atsauksmju par saturu mehānismu un aizstāsim to ar jaunu atsauksmju sistēmu. Papildinformāciju skatiet:Iesniegt un skatīt atsauksmes par