Click or drag to resize

RankedBagTTryGet Method

Gets the actual item for the supplied search item.

Namespace:  Kaos.Collections
Assembly:  KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax
C#
public bool TryGet(
	T getItem,
	out T item
)

Parameters

getItem
Type: T
The item to find.
item
Type: T
If getItem is found, its actual value is placed here; otherwise it will be loaded with the default value for its type.

Return Value

Type: Boolean
true if getItem is found; otherwise false.
See Also