CogVerificationDatabase AddGrade Method Cognex VisionPro 9.5
Adds the specified grade to the database.

Namespace: Cognex.VisionPro.Inspection
Assembly: Cognex.VisionPro.Inspection (in Cognex.VisionPro.Inspection.dll) Version: 69.0.0.0 (69.0.0.0)
Syntax

public void AddGrade(
	string newGrade
)
Events

Event TypeReason
InspectionAddedGradeEvent Fires at the end of a call to this method.
Exceptions

ExceptionCondition
InvalidOperationException Thrown if not currently connected.
ArgumentNullException Thrown if newGrade is null.
ArgumentNullException Thrown if newGrade is not unique.
See Also