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 WorksheetLayoutCell |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As WorksheetLayoutCells Dim row As Integer Dim column As Integer Dim row2 As Integer Dim column2 As Integer Dim value As WorksheetLayoutCell 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 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6