Range.EndAt(Index) Method

Definition

Creates a Range object starting from the first element in the collection to a specified end index.

public:
 static Range EndAt(Index end);
public static Range EndAt (Index end);
static member EndAt : Index -> Range
Public Shared Function EndAt (end As Index) As Range

Parameters

end
Index

The position of the last element up to which the Range object will be created.

Returns

A range that starts from the first element to end.

Applies to