Determines the index of a specific observation of the variable.

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Function IndexOf ( _
	item As DateTime _
) As Integer
C#
public int IndexOf (
	DateTime item
)
C++
public:
virtual int IndexOf (
	DateTime item
) sealed

Parameters

item (System.DateTime)
The observation to locate in the variable.

Return Value

The index of item in the variable if found; otherwise -1.