RecordCollection TryGetValue Method Cognex VisionPro 9.10

Get the item associated with the specified key.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax

public override bool TryGetValue(
	string key,
	out Record value
)

Parameters

key
Type: System String
The key of the item to retrieve.
value
Type: Cognex.Vision Record 
If the key is found, this will be the value associated with that key when this method returns. If the key is NOT found, this will equal the input value.

Return Value

Type: Boolean

true if this dictionary contains an element with the specified key, else false.

See Also