|
BroRecordAdd Method (String, BroType, String) |
Adds a new column, with no initial value, to this
BroRecord with the specified
fieldName and
type.
Namespace: BroccoliSharpAssembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax public bool Add(
string fieldName,
BroType type,
string typeName = null
)
Public Function Add (
fieldName As String,
type As BroType,
Optional typeName As String = Nothing
) As Boolean
member Add :
fieldName : string *
type : BroType *
?typeName : string
(* Defaults:
let _typeName = defaultArg typeName null
*)
-> bool
public boolean Add(
String fieldName,
BroType type,
String typeName = null
)
function Add(fieldName, type, typeName);
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:
Booleantrue if successful; otherwise,
false.
Exceptions Remarks
You can use this method to define a new column for the
BroRecord without assigning an initial value.
See Also