Click or drag to resize
BroccoliSharp BroEventReplaceParameter Method (Int32, Object, BroType, String)
Replaces a parameter with value of type in this BroEvent.

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

Parameters

index
Type: SystemInt32
Parameter index.
value
Type: SystemObject
The value to replace.
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 operation was successful; otherwise, false.
Exceptions
ExceptionCondition
ObjectDisposedExceptionCannot add parameter, BroEvent is disposed.
ArgumentOutOfRangeExceptionindex is not a valid parameter index.
See Also