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: 9.6.1.0 (9.6.1.3020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
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
TValue
The value to locate (can be NULL).

Return Value

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

See Also