Version

WorksheetRegion Constructor

Initializes a new instance of the WorksheetRegion class.
Syntax
'Declaration
 
Public Function New( _
   ByVal worksheet As Worksheet, _
   ByVal firstRow As System.Integer, _
   ByVal firstColumn As System.Integer, _
   ByVal lastRow As System.Integer, _
   ByVal lastColumn As System.Integer _
)
public WorksheetRegion( 
   Worksheet worksheet,
   System.int firstRow,
   System.int firstColumn,
   System.int lastRow,
   System.int lastColumn
)

Parameters

worksheet
The worksheet on which the region resides.
firstRow
The index of the first row of the region.
firstColumn
The index of the first column of the region.
lastRow
The index of the last row of the region.
lastColumn
The index of the last row column of the region.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionworksheet is null.
System.InvalidOperationExceptionfirstRow is greater than lastRow or firstColumn is greater than lastColumn.
System.ArgumentOutOfRangeException Any row or column indices specified are outside the valid row or column ranges.
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub