CogStringCollection IndexOf Method Cognex VisionPro 9.25 SR1
Gets the index of the given item. If the item cannot be found -1 is returned.

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

public int IndexOf(
	string value
)

Parameters

value
Type: System String
The item whose index is desired.

Return Value

Type: Int32
See Also