Click or drag to resize
BroccoliSharp BroTableAdd Method (KeyValuePairBroValue, BroValue)
Adds a key/value pair to this BroTable.

Namespace: BroccoliSharp
Assembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax
public void Add(
	KeyValuePair<BroValue, BroValue> pair
)

Parameters

pair
Type: System.Collections.GenericKeyValuePairBroValue, BroValue
The key/value pair to add to this BroTable.

Implements

ICollectionTAdd(T)
Exceptions
ExceptionCondition
ArgumentNullExceptionpair.Key is null.
ArgumentNullExceptionpair.Value is null.
ObjectDisposedExceptionCannot add key/value pair, BroTable is disposed.
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