CogVerificationDatabase RemoveGrade Method Cognex VisionPro 9.8 SR1
Removes the specified string grade from the verification database. Note, this method does not remove any set grades from individual records, it just removes the grade from the list of possible grades. Users wanting to remove the grade from any database record need to do this themselves.

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

public void RemoveGrade(
	string gradeToRemove
)
Events

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

ExceptionCondition
InvalidOperationException Thrown if not currently connected.
ArgumentNullException Thrown if gradeToRemove is null.
ArgumentNullException Thrown if gradeToRemove not found.
See Also