DetailsViewDeleteEventArgs(Int32) Constructor

Definition

Initializes a new instance of the DetailsViewDeleteEventArgs class.

public:
 DetailsViewDeleteEventArgs(int rowIndex);
public DetailsViewDeleteEventArgs (int rowIndex);
new System.Web.UI.WebControls.DetailsViewDeleteEventArgs : int -> System.Web.UI.WebControls.DetailsViewDeleteEventArgs
Public Sub New (rowIndex As Integer)

Parameters

rowIndex
Int32

The index of the row being deleted.

Remarks

Use this constructor to initialize a new instance of the DetailsViewDeleteEventArgs class.

The following table shows the initial property value for an instance of the DetailsViewDeleteEventArgs class.

Property Initial Value
RowIndex The value of the rowIndex parameter.

Note

This constructor is used primarily by control developers when raising events.

Applies to

See also