Skip to content

M_CodeJam_Ranges_CompositeRange_2_ExtendTo_1

Andrew Koryavchenko edited this page Jun 17, 2018 · 1 revision

CompositeRange(T, TKey).ExtendTo Method (T)

Extends the range from the right.

Namespace: CodeJam.Ranges
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public CompositeRange<T, TKey> ExtendTo(
	T to
)

VB

Public Function ExtendTo ( 
	to As T
) As CompositeRange(Of T, TKey)

F#

member ExtendTo : 
        to : 'T -> CompositeRange<'T, 'TKey> 

Parameters

 

to
Type: T
A new value To.

Return Value

Type: CompositeRange(T, TKey)
A range with a new To boundary or the source fange if the new boundary is less than original.

See Also

Reference

CompositeRange(T, TKey) Structure
ExtendTo Overload
CodeJam.Ranges Namespace

Clone this wiki locally