|
BroTableTryGetValue Method (Object, BroType, BroValue, String) |
Gets the
BroValue associated with the specified
key of
keyType.
Namespace: BroccoliSharpAssembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax public bool TryGetValue(
Object key,
BroType keyType,
out BroValue value,
string keyTypeName = null
)
Public Function TryGetValue (
key As Object,
keyType As BroType,
<OutAttribute> ByRef value As BroValue,
Optional keyTypeName As String = Nothing
) As Boolean
member TryGetValue :
key : Object *
keyType : BroType *
value : BroValue byref *
?keyTypeName : string
(* Defaults:
let _keyTypeName = defaultArg keyTypeName null
*)
-> bool
public boolean TryGetValue(
Object key,
BroType keyType,
/** @attribute OutAttribute */ /** @ref */BroValue value,
String keyTypeName = null
)
function TryGetValue(key, keyType, value, keyTypeName);
Parameters
- key
- Type: SystemObject
The key whose value to get. - keyType
- Type: BroccoliSharpBroType
The BroType of the key. - value
- Type: BroccoliSharpBroValue
When method returns, the BroValue associated with the specified key, if the key is found; otherwise, null. This parameter is passed uninitialized. - keyTypeName (Optional)
- Type: SystemString
Optional name of specialized type of key.
Return Value
Type:
Booleantrue if this
BroTable contains an element with the specified
key; otherwise,
false.
Exceptions See Also