'Declaration
Function Offset( _
ByVal As System.Integer, _
ByVal columnOffset As System.Integer _
) As IRange
'Usage
Dim instance As IRange
Dim rowOffset As System.Integer
Dim columnOffset As System.Integer
Dim value As IRange
value = instance.Offset(rowOffset, columnOffset)
IRange Offset(
System.int ,
System.int columnOffset
)
Parameters
- rowOffset
- The number of rows to offset by (may be negative).
- columnOffset
- The number of columns to offset by (may be negative).
Return Value
A copy of the current IRange which is offset by the specified number of rows and columns.
Target Platforms: 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