Tries to find the specified key in the index.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public abstract bool TryLookup(
T key,
out int index
)
Public MustOverride Function TryLookup (
key As T,
<OutAttribute> ByRef index As Integer
) As Boolean
public:
virtual bool TryLookup(
T key,
[OutAttribute] int% index
) abstract
abstract TryLookup :
key : 'T *
index : int byref -> bool
Parameters
- key
- Type: T
The key to locate. - index
- Type: SystemInt32
If key was found, the position
of the first occurrence of key in the index;
otherwise undefined.
Return Value
Type:
Boolean if
key was found in the index;
otherwise
.
Reference