CogToolCollection IndexOf Method (String)Cognex VisionPro 9.8 SR1
Determines the index of the ICogTool with the specified key.

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

public int IndexOf(
	string key
)

Parameters

key
Type: System String
The key to locate in the CogToolCollection.

Return Value

Type: Int32
The index of value if found in the CogToolCollection; otherwise, -1.
See Also