|
BroSetAdd Method (Object, BroType, String) |
Adds
value of
type to this
BroSet.
Namespace: BroccoliSharpAssembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax public bool Add(
Object value,
BroType type,
string typeName = null
)
Public Function Add (
value As Object,
type As BroType,
Optional typeName As String = Nothing
) As Boolean
member Add :
value : Object *
type : BroType *
?typeName : string
(* Defaults:
let _typeName = defaultArg typeName null
*)
-> bool
public boolean Add(
Object value,
BroType type,
String typeName = null
)
function Add(value, type, typeName);
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:
Booleantrue if successful; otherwise,
false.
Exceptions 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