CogSerializableDictionaryBase TKey, TValue  TryGetValue Method Cognex VisionPro
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: 65.1.0.0 (65.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