ClassifyPattern GetClass Method Cognex VisionPro 9.22 SR1

Returns the class with the specified class id from Classes Collection.

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

public string GetClass(
	string classId
)

Parameters

classId
Type: System String
The class id in the Classes collection.

Return Value

Type: String
Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionIf the supplied class id is not found in the collection.
See Also