Skip to content

M_CodeJam_Ranges_CompositeRange_2_TrimTo

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

CompositeRange(T, TKey).TrimTo Method (RangeBoundaryTo(T))

Trims the range from the right.

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

Syntax

C#

public CompositeRange<T, TKey> TrimTo(
	RangeBoundaryTo<T> to
)

VB

Public Function TrimTo ( 
	to As RangeBoundaryTo(Of T)
) As CompositeRange(Of T, TKey)

F#

member TrimTo : 
        to : RangeBoundaryTo<'T> -> CompositeRange<'T, 'TKey> 

Parameters

 

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

Return Value

Type: CompositeRange(T, TKey)
A range trimmed with a new To boundary.

See Also

Reference

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

Clone this wiki locally