System.Windows.Forms.ListView.Items Property

Gets a collection containing all items in the control.

Syntax

[System.ComponentModel.MergableProperty(false)]
[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]
[System.ComponentModel.Editor("System.Windows.Forms.Design.ListViewItemCollectionEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.Drawing.Design.UITypeEditor))]
public ListView.ListViewItemCollection Items { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Using the System.Windows.Forms.ListView.ListViewItemCollection returned by this property, you can add items, remove items, and obtain a count of items. For more information on the tasks that can be performed with the items in the collection, see the System.Windows.Forms.ListView.ListViewItemCollection class reference topics.

Requirements

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