Searches the collection for the specified object and returns the zero-based index of the first occurrence.
Namespace: Cognex.VisionPro.ImplementationAssembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 73.0.0.0 (73.0.0.0)
Syntax
Parameters
- item
- Type: T
The object to locate.
Return Value
Type: Int32The zero based index of the first occurrence of item withing the collection, if found; otherwise, -1
See Also