Tries to find the specified key in the index.
Namespace: Extreme.DataAnalysisAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
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
.
Numerical Libraries
Supported in: 6.0
Reference