[]
        
(Showing Draft Content)

C1.DataCollection.C1LengthList-1.GetOffset

GetOffset Method

GetOffset(int)

Gets the accumulated length up to the indicated index (not including).

Declaration
public T GetOffset(int index)
Public Function GetOffset(index As Integer) As T
Parameters
Type Name Description
int index

The index.

Returns
Type Description
T

GetOffset(int, int)

Gets the accumulated length between the specified indexes (including both).

Declaration
public T GetOffset(int from, int to)
Public Function GetOffset(from As Integer, [to] As Integer) As T
Parameters
Type Name Description
int from

The starting index.

int to

The ending index.

Returns
Type Description
T