Returns the index of the first row with a given value in a specified column.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public int IndexOf(
	int colIndex,
	Object val
)
Visual Basic (Declaration)
Public Function IndexOf ( _
	colIndex As Integer, _
	val As Object _
) As Integer
Visual C++
public:
int IndexOf(
	int colIndex, 
	Object^ val
)

Parameters

colIndex
Type: System..::.Int32
A column index.
val
Type: System..::.Object
A value.

Return Value

The index of the first row with a given value in a specified column, or -1 if the value is not found.

See Also