|
BroVectorIndexOf Method |
Determines the index of the specified
value in this
BroVector.
Namespace: BroccoliSharpAssembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax public int IndexOf(
BroValue value
)
Public Function IndexOf (
value As BroValue
) As Integer
abstract IndexOf :
value : BroValue -> int
override IndexOf :
value : BroValue -> int
public final 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