SubItems Property
Description
Gets a collection containing all subitems of the item.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property SubItems( _
ByVal [Index](#) As Long _
) As String
Parameters
- Index: An integer that identifies a subitem for the specified ListViewItem.
Remarks
Subitems are arrays of strings representing the ListViewItem object's data that are displayed in Report view. A ListViewItem object can have any number of associated item data strings (subitems), but each ListViewItem object must have the same number of subitems.
There are corresponding column headers defined for each subitem. You cannot add elements directly to the subitems array. Use the Add method of the ListViewColumnHeaders collection to add subitems.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.