CogOCRMaxFieldingDefinitionCollection IndexOf Method (Char)Cognex VisionPro 9.5
Get the index of the fielding definition with the specified alias. If the fielding definition cannot be found, -1 is returned.

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

public int IndexOf(
	char alias
)

Parameters

alias
Type: System Char
The Alias of the desired fielding definition.

Return Value

Type: Int32
The index of the specified fielding definiton if found, otherwise -1.
See Also