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

Namespace: BroccoliSharp
Assembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax
public int IndexOf(
	string fieldName
)

Parameters

fieldName
Type: SystemString
The BroField to locate in this BroRecord.

Return Value

Type: Int32
The zero-based index of fieldName if found in the record; otherwise, -1.
Exceptions
ExceptionCondition
ArgumentNullExceptionfieldName is null.
Remarks
This method performs a linear search - an O(n) operation where n is Count.
See Also