Редагувати

Поділитися через


ListViewDeleteEventArgs(Int32) Constructor

Definition

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.

Applies to

See also