Method TryIndexOf
- Namespace
- MaaFramework.Binding.Buffers
- Assembly
- MaaFramework.Binding.dll
TryIndexOf(T, out ulong)
Attempts to get index of the specified element.
public abstract bool TryIndexOf(T item, out ulong index)
Parameters
item
T-
The element.
index
ulong-
The zero-based index of the
item
.
Returns
Exceptions
- NotSupportedException
-
The type of item is not supported.