Wimark.Controls Class Library  

ListViewItem.ListViewSubItemCollection.Add Method

Adds a new subitem to the collection with specified image index.

Overload List

Adds a new subitem to the collection with specified image index.

[Visual Basic] Overloads Public Function Add(Integer) As ListViewSubItem
[C#] public ListViewSubItem Add(int);
[C++] public: ListViewSubItem* Add(int);

Adds a new subitem to the collection with specified text.

[Visual Basic] Overloads Public Function Add(String) As ListViewSubItem
[C#] public ListViewSubItem Add(string);
[C++] public: ListViewSubItem* Add(String*);

Adds a new subitem to the collection with specified text, foreground color, background color, and font settings.

[Visual Basic] Overloads Public Function Add(String, Color, Color, Font) As ListViewSubItem
[C#] public ListViewSubItem Add(string, Color, Color, Font);
[C++] public: ListViewSubItem* Add(String*, Color, Color, Font*);

Adds a ListViewSubItem object to the end of the collection.

[Visual Basic] Overloads Public Function Add(ListViewSubItem) As Integer
[C#] public int Add(ListViewSubItem);
[C++] public: int Add(ListViewSubItem*);

See Also

ListViewItem.ListViewSubItemCollection Class | ListViewItem.ListViewSubItemCollection Members | Wimark.Controls Namespace | ListViewSubItem