ListViewDeleteEventArgs(Int32) Constructor
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.
Initializes a new instance of the ListViewDeleteEventArgs class.
public:
ListViewDeleteEventArgs(int itemIndex);
public ListViewDeleteEventArgs (int itemIndex);
new System.Web.UI.WebControls.ListViewDeleteEventArgs : int -> System.Web.UI.WebControls.ListViewDeleteEventArgs
Public Sub New (itemIndex As Integer)
Parameters
- itemIndex
- Int32
The index of the item that contains the Delete button that raised the event.
Remarks
Use this constructor to initialize a new instance of the ListViewDeleteEventArgs class.
Note
This constructor is primarily used by control developers when raising events.
The following table shows the initial property value for an instance of ListViewDeleteEventArgs.
Property | Initial value |
---|---|
ItemIndex | The value of the itemIndex parameter. |