แก้ไข

แชร์ผ่าน


ListViewItem(ListViewItemType) Constructor

Definition

Initializes a new instance of the ListViewItem class.

public:
 ListViewItem(System::Web::UI::WebControls::ListViewItemType itemType);
public ListViewItem (System.Web.UI.WebControls.ListViewItemType itemType);
new System.Web.UI.WebControls.ListViewItem : System.Web.UI.WebControls.ListViewItemType -> System.Web.UI.WebControls.ListViewItem
Public Sub New (itemType As ListViewItemType)

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

See also