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

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

public virtual int IndexOf(
	string key
)

Return Value

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