ClassifyPattern RemoveClassItem Method Cognex VisionPro 9.10

Removes the class item from Classes Collection.

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

public void RemoveClassItem(
	ClassifyClassItem item
)
Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionIf the supplied item 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 labeled images 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