Skip to content

M_CodeJam_Collections_IndexedItem_1__ctor

Andrew Koryavchenko edited this page Jun 17, 2018 · 5 revisions

IndexedItem(T) Constructor

Initializes a new instance of the IndexedItem(T).

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

Syntax

C#

public IndexedItem(
	T item,
	int index,
	bool isFirst,
	bool isLast
)

VB

Public Sub New ( 
	item As T,
	index As Integer,
	isFirst As Boolean,
	isLast As Boolean
)

F#

new : 
        item : 'T * 
        index : int * 
        isFirst : bool * 
        isLast : bool -> IndexedItem

Parameters

 

item
Type: T
The value of the element.
index
Type: System.Int32
The index of the element in a sequence.
isFirst
Type: System.Boolean
A value indicating whether this instance is first.
isLast
Type: System.Boolean
A value indicating whether this instance is last.

See Also

Reference

IndexedItem(T) Structure
CodeJam.Collections Namespace

Clone this wiki locally