|
BroRecordIndexOf Method (BroField) |
Determines the index of the specified
field in this
BroRecord.
Namespace: BroccoliSharpAssembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax public int IndexOf(
BroField field
)
Public Function IndexOf (
field As BroField
) As Integer
abstract IndexOf :
field : BroField -> int
override IndexOf :
field : BroField -> int
public final int IndexOf(
BroField field
)
Parameters
- field
- Type: BroccoliSharpBroField
The BroField to locate in this BroRecord.
Return Value
Type:
Int32
The zero-based index of
field if found in the record; otherwise, -1.
Implements
IListTIndexOf(T)Remarks
This method performs a linear search - an O(n) operation where n is
Count.
See Also