Removes the class item at index from Classes Collection.
Assembly: Cognex.Vision.ViDiELClassify.Net (in Cognex.Vision.ViDiELClassify.Net.dll) Version: 9.22.2.0
Syntax
Parameters
- index
- Type: System Int32
The index of the item in the Classes collection to remove.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If the supplied index is outside the collection range. |
Remarks
If the pattern is trained, and the class id is in the LabeledImages, the pattern will become untrained.
If the class id is used in the LabeledImages, all train items referencing the class id will be removed as well.
Changed Raised when the value of this property changes. The following state flags may be affected:
See Also