ICogRecords IndexOfKey Method Cognex VisionPro 9.10
Searches the list for a given key.

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

int IndexOfKey(
	string key
)

Parameters

key
Type: System String
The key for which to search.

Return Value

Type: Int32
The index of the record, or -1 if it is not in the list.
See Also