Skip to content

M_CodeJam_Ranges_CompositeRange_1_ExtendTo

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

CompositeRange(T).ExtendTo Method (RangeBoundaryTo(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> ExtendTo(
	RangeBoundaryTo<T> to
)

VB

Public Function ExtendTo ( 
	to As RangeBoundaryTo(Of T)
) As CompositeRange(Of T)

F#

member ExtendTo : 
        to : RangeBoundaryTo<'T> -> CompositeRange<'T> 

Parameters

 

to
Type: CodeJam.Ranges.RangeBoundaryTo(T)
A new boundary To.

Return Value

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

See Also

Reference

CompositeRange(T) Structure
ExtendTo Overload
CodeJam.Ranges Namespace

Clone this wiki locally