|
BroRecordAdd Method (BroValue, String) |
Adds new
value to this
BroRecord with specified
fieldName.
Namespace: BroccoliSharpAssembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax public bool Add(
BroValue value,
string fieldName = ""
)
Public Function Add (
value As BroValue,
Optional fieldName As String = ""
) As Boolean
member Add :
value : BroValue *
?fieldName : string
(* Defaults:
let _fieldName = defaultArg fieldName ""
*)
-> bool
public boolean Add(
BroValue value,
String fieldName = ""
)
function Add(value, 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:
Booleantrue if successful; otherwise,
false.
Exceptions Remarks
Field name is optional when using Bro record as a
BroType.List.
See Also