[This is preliminary documentation and is subject to change.]

Gets index by 1 smaller than given

Namespace: Tools.CollectionsT.GenericT
Assembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
protected abstract TIndex Decrement(
	TIndex a
)
Visual Basic
Protected MustOverride Function Decrement ( _
	a As TIndex _
) As TIndex
Visual C++
protected:
virtual TIndex Decrement(
	TIndex a
) abstract
F#
abstract Decrement : 
        a:'TIndex -> 'TIndex 
JScript
protected abstract function Decrement(
	a : TIndex
) : TIndex

Parameters

a
Type: TIndex
An index to decrement

Return Value

a - 1

Remarks

Function must be able to decrement to value Collection.Minimum - 1

See Also