Name
ListViewItem.ListViewSubItemCollection
Synopsis
This class represents the collection of subitems of a
ListViewItem
.
public class ListViewItem.ListViewSubItemCollection : IList, ICollection, IEnumerable { // Public Constructors public ListViewItem.ListViewSubItemCollection(ListViewItem owner); // Public Instance Properties public int Count{get; } // implements ICollection public bool IsReadOnly{get; } // implements IList public ListViewSubItem this{set; get; } // Public Instance Methods public ListViewSubItem Add(ListViewSubItem item); public ListViewSubItem Add(string text); public ListViewSubItem Add(string text, System.Drawing.Color foreColor, System.Drawing.Color backColor, System.Drawing.Font font); public void AddRange(ListViewSubItem[ ] items); public void AddRange(string[ ] items); public void AddRange(string[ ] items, System.Drawing.Color foreColor, System.Drawing.Color backColor, System.Drawing.Font font); public void Clear(); // implements IList public bool Contains(ListViewSubItem subItem); public IEnumerator GetEnumerator(); // implements IEnumerable public int IndexOf(ListViewSubItem subItem); public void Insert(int index, ListViewSubItem item); public void Remove(ListViewSubItem item); public void RemoveAt(int index); // implements IList }
Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.