Skip to content

M_CodeJam_Ranges_CompositeRange_1_TrimTo_1

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

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

VB

Public Function TrimTo ( 
	to As T
) As CompositeRange(Of T)

F#

member TrimTo : 
        to : 'T -> CompositeRange<'T> 

Parameters

 

to
Type: T
A new value To.

Return Value

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

See Also

Reference

CompositeRange(T) Structure
TrimTo Overload
CodeJam.Ranges Namespace

Clone this wiki locally