ClassifyPattern RemoveImageItemAt Method Cognex VisionPro 9.24

Removes the image item at index from Images Collection.

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

public void RemoveImageItemAt(
	int index
)

Parameters

index
Type: System Int32
The index of the item in the Images collection to remove.
Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionIf the supplied index is outside the collection range.
Remarks

If the pattern is trained, and the image item id is in the ClassifyTrainImageCollection, the pattern will become untrained.

If the image item id is used in the ClassifyTrainImageCollection collection, the train item will be removed as well.

Changed Raised when the value of this property changes. The following state flags may be affected:

See Also