|
BroRecordAdd Method (Object, BroType, String, String) |
Adds new
value of
type to this
BroRecord with specified
fieldName.
Namespace: BroccoliSharpAssembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax public bool Add(
Object value,
BroType type,
string fieldName = "",
string typeName = null
)
Public Function Add (
value As Object,
type As BroType,
Optional fieldName As String = "",
Optional typeName As String = Nothing
) As Boolean
member Add :
value : Object *
type : BroType *
?fieldName : string *
?typeName : string
(* Defaults:
let _fieldName = defaultArg fieldName ""
let _typeName = defaultArg typeName null
*)
-> bool
public boolean Add(
Object value,
BroType type,
String fieldName = "",
String typeName = null
)
function Add(value, type, fieldName, typeName);
Parameters
- value
- Type: SystemObject
The value to add to record as a field. - type
- Type: BroccoliSharpBroType
The BroType of the value. - fieldName (Optional)
- Type: SystemString
Name of field to add to record, can be empty string for BroType.List source. - typeName (Optional)
- Type: SystemString
Optional name of specialized type of value.
Return Value
Type:
Booleantrue if successful; otherwise,
false.
Exceptions Remarks
Field name is optional when using Bro record as a
BroType.List.
See Also