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
)
Public Overridable Function IndexOfValue (
value As TValue
) As Integer
public:
virtual int IndexOfValue(
TValue value
)
abstract IndexOfValue :
value : 'TValue -> int
override IndexOfValue :
value : 'TValue -> int
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