Removes the image item at index from Images Collection.
Assembly: Cognex.Vision.ViDiELClassify.Net (in Cognex.Vision.ViDiELClassify.Net.dll) Version: 9.25.1.0
Syntax
Parameters
- index
- Type: System Int32
The index of the item in the Images collection to remove.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If 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