Click or drag to resize

TypedSortedListEx TKey , TValue IndexOfValue Method

Returns the zero-based index of the first occurrence of the specified value.

Namespace: Spire.Doc.Collections
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public virtual int IndexOfValue(
	TValue value
)

Parameters

value
Type: TValue
The value to locate (can be NULL).

Return Value

Type: Int32
The zero-based index of the first occurrence of value, if value is found; otherwise, -1.
See Also