CogToolCollection IndexOf Method (ICogTool)Cognex VisionPro 9.22
Determines the index of a specific ICogTool in the CogToolCollection.

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

public int IndexOf(
	ICogTool value
)

Parameters

value
Type: Cognex.VisionPro ICogTool
The ICogTool to locate in the CogToolCollection.

Return Value

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