CogSearchMaxResults IndexOf Method Cognex VisionPro
Determines the index of a specific CogSearchMaxResult in the CogSearchMaxResults.

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

public int IndexOf(
	CogSearchMaxResult value
)

Parameters

value
Type: Cognex.VisionPro.SearchMax CogSearchMaxResult
The CogSearchMaxResult to locate in the CogSearchMaxResults.

Return Value

Type: Int32
Zero-based index of value if found in the CogSearchMaxResults; otherwise -1.
See Also