|
BroTableAdd Method (BroValue, BroValue) |
Adds an element with the provided
key and
value to this
BroTable.
Namespace: BroccoliSharpAssembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax public bool Add(
BroValue key,
BroValue value
)
Public Function Add (
key As BroValue,
value As BroValue
) As Boolean
member Add :
key : BroValue *
value : BroValue -> bool
public boolean Add(
BroValue key,
BroValue value
)
function Add(key, value);
Parameters
- key
- Type: BroccoliSharpBroValue
The BroValue to use as the key of the element to add. - value
- Type: BroccoliSharpBroValue
The BroValue to use as the value of the element to add.
Return Value
Type:
Booleantrue if successful; otherwise,
false.
Exceptions Remarks
First item added to the table will determine the key and value type for all subsequent key/value pairs.
Any key/value pairs attempted to be added that do not have the same types as the first key/value pair
will fail to insert into the table.
See Also