Adds a row to the end of the collection.
[Visual Basic]
Public Function Add( _
ByVal row As Integer _
) As Integer
[C#]
public int Add(
int row
);
[Delphi]
public function Add(
row: Int32
): Int32;
Parameters
row
Row number to add.
Return Value
The index at which the row has been added.
Example
The following code adds a row to the SelectedRowCollection:
Me.C1TrueDBGrid1.SelectedRows.Add(Me.C1TrueDBGrid1.Bookmark)
· C#
this.c1TrueDBGrid1.SelectedRows.Add(this.c1TrueDBGrid1.Bookmark);
· Delphi
Self.C1TrueDBGrid1.SelectedRows.Add(Self.C1TrueDBGrid1.Bookmark);
See Also
SelectedRowCollection Class | SelectedRowCollection Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |