Redigera

Dela via


ListViewSelectEventArgs(Int32) Constructor

Definition

Initializes a new instance of the ListViewSelectEventArgs class.

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

Parameters

newSelectedIndex
Int32

The index of the new item to select in the ListView control.

Remarks

Use this constructor to initialize a new instance of the ListViewSelectEventArgs 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 the ListViewSelectEventArgs class.

Property Initial value
NewSelectedIndex The value of the newSelectedIndex parameter.

Applies to

See also