CogVisionDataContainer TryGetValue Method Cognex VisionPro 9.22 SR1
If this container holds the specified key, output the associated ICogVisionData value. Return true if the key was found, otherwise return false.

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

public virtual bool TryGetValue(
	string key,
	out ICogVisionData value
)

Parameters

key
Type: System String
Search for this key.
value
Type: Cognex.VisionPro ICogVisionData 
The found ICogVisionData value.

Return Value

Type: Boolean

Implements

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