Click or drag to resize
BroccoliSharp BroRecordAdd Method (BroValue, String)
Adds new value to this BroRecord with specified fieldName.

Namespace: BroccoliSharp
Assembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax
public bool Add(
	BroValue value,
	string fieldName = ""
)

Parameters

value
Type: BroccoliSharpBroValue
BroValue to add to record as a field.
fieldName (Optional)
Type: SystemString
Name of field to add to record, can be empty string for BroType.List source.

Return Value

Type: Boolean
true if successful; otherwise, false.
Exceptions
ExceptionCondition
ArgumentNullExceptionCannot add a nullBroValue.
ObjectDisposedExceptionCannot add item, BroRecord is disposed.
Remarks
Field name is optional when using Bro record as a BroType.List.
See Also