|
BroRecordIndexOf Method (String) |
Determines the index of the specified
fieldName in this
BroRecord.
Namespace: BroccoliSharpAssembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax public int IndexOf(
string fieldName
)
Public Function IndexOf (
fieldName As String
) As Integer
member IndexOf :
fieldName : string -> int
public int IndexOf(
String fieldName
)
function IndexOf(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 Remarks
This method performs a linear search - an O(n) operation where n is
Count.
See Also