'Declaration Public Function New( _ ByVal worksheet As Worksheet, _ ByVal firstRow As Integer, _ ByVal firstColumn As Integer, _ ByVal lastRow As Integer, _ ByVal lastColumn As Integer _ )
public WorksheetRegion( Worksheet worksheet, int firstRow, int firstColumn, int lastRow, int lastColumn )
Exception | Description |
---|---|
System.ArgumentNullException | worksheet is null. |
System.InvalidOperationException | firstRow 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. |
Target Platforms: Windows 10, 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