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.InspectionAssembly: Cognex.VisionPro.Inspection (in Cognex.VisionPro.Inspection.dll) Version: 87.0.0.0 (87.0.0.0)
Syntax
Parameters
- gradeToRemove
- Type: System String
Grade to remove.
Events
| Event Type | Reason |
|---|---|
| InspectionRemovedGradeEvent | Fires at the end of a call to this method. |
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | Thrown if not currently connected. |
| ArgumentNullException | Thrown if gradeToRemove is null. |
| ArgumentNullException | Thrown if gradeToRemove not found. |
See Also