Skip to content

M_CodeJam_Ranges_Range_2_WithKey__1

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

Range(T, TKey).WithKey(TKey2) Method

Creates a new range with the key specified.

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

Syntax

C#

public Range<T, TKey2> WithKey<TKey2>(
	TKey2 key
)

VB

Public Function WithKey(Of TKey2) ( 
	key As TKey2
) As Range(Of T, TKey2)

F#

member WithKey : 
        key : 'TKey2 -> Range<'T, 'TKey2> 

Parameters

 

key
Type: TKey2
The value of the new key.

Type Parameters

 

TKey2
The type of the new key.

Return Value

Type: Range(T, TKey2)
A new range with the key specified.

See Also

Reference

Range(T, TKey) Structure
CodeJam.Ranges Namespace

Clone this wiki locally