Click or drag to resize
BroccoliSharp BroRecordInsert Method (Int32, BroValue, String)
Inserts value in this BroRecord at the specified index with specified fieldName.

Namespace: BroccoliSharp
Assembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax
public void Insert(
	int index,
	BroValue value,
	string fieldName = ""
)

Parameters

index
Type: SystemInt32
The zero-based index at which value should be inserted.
value
Type: BroccoliSharpBroValue
BroValue to insert into this BroRecord as a field.
fieldName (Optional)
Type: SystemString
Name of field to add to record, can be empty string for BroType.List source.
Exceptions
ExceptionCondition
ObjectDisposedExceptionCannot execute list operation, BroRecord is disposed.
ArgumentOutOfRangeExceptionindex is not a valid index in this BroRecord.
Remarks
This is not a native Bro record operation. Function will perform expected task, but for large data sets operation may be expensive.
See Also