ClassifyTrainItemCollection GetTrainItem Method Cognex VisionPro 9.21 SR1

Returns the train item with the image id specified.

Namespace: Cognex.Vision.ViDiEL
Assembly: Cognex.Vision.ViDiELClassify.Net (in Cognex.Vision.ViDiELClassify.Net.dll) Version: 9.21.1.1
Syntax

public ClassifyTrainItem GetTrainItem(
	string imageId
)

Return Value

Type: ClassifyTrainItem
Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionIf the supplied imageId is not found in the collection.
See Also