| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As Rows Dim row As Integer Dim value As Row value = instance.Get(row)  | |
Parameters
- row
 - Row index
 
Return Value
Row object for the specified row| Exception | Description | 
|---|---|
| System.IndexOutOfRangeException | Specified row index is out of range. It must less than the row count or -1 for all. | 
This example shows the use of the method in changing the background color of the row.
             
            
            | C# |  Copy Code | 
|---|---|
FarPoint.Win.Spread.Row r; r = fpSpread1.ActiveSheet.Rows.Get(2); r.BackColor = Color.Yellow;  | |
| Visual Basic |  Copy Code | 
|---|---|
Dim r As FarPoint.Win.Spread.Row r = FpSpread1.ActiveSheet.Rows.Get(2) r.BackColor = Color.Yellow  | |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8