Adds an item to the collection.
Adds an item to the collection.
| Visual Basic |
|---|
Public Sub Add( _ ByVal rowIndex As Long _ ) |
If Grid.SelectionMode is set to ms_Single, the method replaces the current selection.
If Grid.SelectionMode is set to ms_None or ms_NotSupported, the method throws an exception.