Visual Basic (Declaration) | |
---|---|
Public Overloads ReadOnly Property Item( _ ByVal row As Integer, _ ByVal column As Integer, _ ByVal row2 As Integer, _ ByVal column2 As Integer _ ) As LayoutCell |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As LayoutCells Dim row As Integer Dim column As Integer Dim row2 As Integer Dim column2 As Integer Dim value As LayoutCell value = instance.Item(row, column, row2, column2) |
Parameters
- row
- Starting row index
- column
- Starting column index
- row2
- Ending row index
- column2
- Ending column index
Exception | Description |
---|---|
System.IndexOutOfRangeException | Specified starting row index is out of range. It must be between 0 and the total number of rows. |
System.IndexOutOfRangeException | Specified starting column index is out of range. It must be between 0 and the total number of columns. |
System.IndexOutOfRangeException | Specified ending row index is out of range. It must be between the starting row index and the total number of rows. |
System.IndexOutOfRangeException | Specified ending column index is out of range. It must be between the starting column index and the total number of columns. |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family