Searches the container for the specified key value pair and
returns the zero-based index of the first occurrence.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.CorePlus (in Cognex.VisionPro.CorePlus.dll) Version: 73.0.0.0
Syntax
Parameters
- pair
- Type: System.Collections.Generic KeyValuePair String, ICogVisionData
The key value pair to locate.
Return Value
Type: Int32The zero based index of the first occurrence of pair within the container, if found; otherwise, -1
Implements
IList T IndexOf(T)See Also