System.Windows.Forms.ListViewItem.SubItems Property

Gets a collection containing all subitems of the item.

Syntax

[System.ComponentModel.Editor("System.Windows.Forms.Design.ListViewSubItemCollectionEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.Drawing.Design.UITypeEditor))]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public ListViewItem.ListViewSubItemCollection SubItems { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Using the System.Windows.Forms.ListViewItem.ListViewSubItemCollection, you can add subitems, remove subitems, and obtain a count of subitems. For more information on the tasks that can be performed with the subitems in the collection, see the System.Windows.Forms.ListViewItem.ListViewSubItemCollection class reference topics.

Note:

The first subitem in the System.Windows.Forms.ListViewItem.ListViewSubItemCollection is always the item that owns the subitems. When performing operations on subitems in the collection, be sure to reference index position 1 instead of 0 to make changes to the first subitem.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0