Click or drag to resize
BroccoliSharp BroRecordAdd Method (String, BroType, String)
Adds a new column, with no initial value, to this BroRecord with the specified fieldName and type.

Namespace: BroccoliSharp
Assembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax
public bool Add(
	string fieldName,
	BroType type,
	string typeName = null
)

Parameters

fieldName
Type: SystemString
Name of field to add to record.
type
Type: BroccoliSharpBroType
The BroType of the new field.
typeName (Optional)
Type: SystemString
Optional name of specialized type of for the field.

Return Value

Type: Boolean
true if successful; otherwise, false.
Exceptions
ExceptionCondition
ObjectDisposedExceptionCannot add item, BroRecord is disposed.
Remarks
You can use this method to define a new column for the BroRecord without assigning an initial value.
See Also