Click or drag to resize

RankedMapTKey, TValueKeyCollectionTryGetLessThanOrEqual Method

Gets the greatest key that is less than or equal to the supplied key.

Namespace:  Kaos.Collections
Assembly:  KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax
C#
public bool TryGetLessThanOrEqual(
	TKey getKey,
	out TKey key
)

Parameters

getKey
Type: TKey
The key to use for comparison.
key
Type: TKey
The actual key if found; otherwise the default.

Return Value

Type: Boolean
true if key less than or equal to getKey found; otherwise false.
See Also