CogDataBindingsCollection IndexOf Method (String)Cognex VisionPro 9.5
Searches for a CogDataBinding with the given DestinationPath and returns its zero-based index.

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

public int IndexOf(
	string destinationPath
)

Parameters

destinationPath
Type: System String
The value of the DestinationPath property of the item to locate.

Return Value

Type: Int32
The index of the item or -1 if it is not in the collection.
See Also