| Kixforms Class Library |
Count Property |
Gets the total number of elements in the collection.
object.Count
The total number of elements in the collection.
The Count property holds the number of objects assigned to the collection. You can use the Count property value as the upper bounds of a loop to iterate through a collection.
Because the index value of a collection is a zero-based index, you must subtract one from the looping variable. If you do not account for this, you will exceed the upper bounds of the collection and produce undesirable results.
Collection |
Columns |
ControlCollection |
GridViewColumnCollection |
Images |
Items |
GridViewRowCollection |
ListItemCollection |
SelectedItems |
TabPages |
TreeNodeCollection
| The CHM file was converted to HTML by chm2web software. |