ListViewUpdateEventArgs(Int32) 构造函数
定义
初始化 ListViewUpdateEventArgs 类的新实例。Initializes a new instance of the ListViewUpdateEventArgs class.
public:
ListViewUpdateEventArgs(int itemIndex);
public ListViewUpdateEventArgs (int itemIndex);
new System.Web.UI.WebControls.ListViewUpdateEventArgs : int -> System.Web.UI.WebControls.ListViewUpdateEventArgs
Public Sub New (itemIndex As Integer)
参数
- itemIndex
- Int32
要更新的项的索引。The index of the item being updated.
注解
使用此构造函数初始化类的新实例 ListViewUpdateEventArgs ,使用指定的项索引。Use this constructor to initialize a new instance of the ListViewUpdateEventArgs class, using the specified item index.
备注
此构造函数主要由控件开发人员在引发事件时使用。This constructor is primarily used by control developers when they raise events.
下表显示了类的实例的初始属性值 ListViewUpdateEventArgs 。The following table shows the initial property value for an instance of the ListViewUpdateEventArgs class.
| propertiesProperty | 初始值Initial value |
|---|---|
| ItemIndex | 参数中包含的值 itemIndex 。The value that is contained in the itemIndex parameter. |