CogVisionDataContainer IndexOf Method (ICogVisionData)Cognex VisionPro 9.21
Searches the container for the key value pair with the specified value and returns its zero-based index.

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

public virtual int IndexOf(
	ICogVisionData value
)

Return Value

Type: Int32
The zero based index of the key value pair with the specified ICogVisionData value, if found; otherwise, -1 is returned.
See Also