Click or drag to resize
BroccoliSharp BroVectorIndexOf Method
Determines the index of the specified value in this BroVector.

Namespace: BroccoliSharp
Assembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax
public int IndexOf(
	BroValue value
)

Parameters

value
Type: BroccoliSharpBroValue
The BroValue to locate in this BroVector.

Return Value

Type: Int32
The zero-based index of value if found in the vector; otherwise, -1.

Implements

IListTIndexOf(T)
Remarks
This method performs a linear search - an O(n) operation where n is Count.
See Also