StringCollection IndexOf Method Cognex VisionPro 9.10

Find the first item in this collection that matches the supplied item, and return its index.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax

public override int IndexOf(
	string item
)

Parameters

item
Type: System String
The item to locate in this collection.

Return Value

Type: Int32

The zero-based index of the first occurrence of the input item, or -1 if none exists.

Implements

IList T  IndexOf(T)
See Also