ListViewItem(ListViewItemType) Constructor

Definition

Initializes a new instance of the ListViewItem class.

C#
public ListViewItem(System.Web.UI.WebControls.ListViewItemType itemType);

Parameters

itemType
ListViewItemType

One of the ListViewItemType enumeration values.

Remarks

Use this constructor to initialize a new instance of a ListViewItem object.

The following table shows initial property values for an instance of the ListViewItem class.

Property Initial value
ItemType The value of the itemType parameter.

Applies to

Proizvod Verzije
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also