Removes the class item with the specified class id from Classes Collection.
Assembly: Cognex.Vision.ViDiELClassify.Net (in Cognex.Vision.ViDiELClassify.Net.dll) Version: 9.10.0.0
Syntax
Parameters
- classId
- Type: System String
The class id in the Classes collection to remove.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If the supplied label id is not found in the collection. |
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