Click or drag to resize
BroccoliSharp BroSetAdd Method (Object, BroType, String)
Adds value of type to this BroSet.

Namespace: BroccoliSharp
Assembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax
public bool Add(
	Object value,
	BroType type,
	string typeName = null
)

Parameters

value
Type: SystemObject
The value to add to this BroSet.
type
Type: BroccoliSharpBroType
The BroType of the value.
typeName (Optional)
Type: SystemString
Optional name of specialized type of value.

Return Value

Type: Boolean
true if successful; otherwise, false.
Exceptions
ExceptionCondition
ObjectDisposedExceptionCannot add item, BroSet is disposed.
Remarks
First item added to the set will determine the type for all subsequent set keys. Any key values attempted to be added that are not the same type as the first key will fail to insert into the set.
See Also