CogSerializableDictionaryBase TKey, TValue  TryGetValue Method Cognex VisionPro 9.22 SR1
If this dictionary contains the specified key, output the associated value. Return true if the key was found, otherwise return false.

Namespace: Cognex.VisionPro.Implementation
Assembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 87.1.0.0 (87.1.0.0)
Syntax

public bool TryGetValue(
	TKey key,
	out TValue value
)

Parameters

key
Type: TKey
Search for this key.
value
Type: TValue 
The found value.

Return Value

Type: Boolean

Implements

IDictionary TKey, TValue  TryGetValue(TKey, TValue )
See Also