ClassifyPattern AddClass Method Cognex VisionPro 9.21 SR1

Creates a ClassifyClassItem object and adds it the Classes collection.

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

public string AddClass(
	string className
)

Return Value

Type: String
Exceptions

ExceptionCondition
ArgumentExceptionIf the supplied class is found in the Classes collection.
Remarks

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

See Also