Click or drag to resize
BroccoliSharp BroRecordIndexOf Method (BroField)
Determines the index of the specified field in this BroRecord.

Namespace: BroccoliSharp
Assembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax
public 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