Replaces data inside the verification database using the specified data.
The key of the replacementData record is used to find which data object to replace.
Namespace: Cognex.VisionPro.InspectionAssembly: Cognex.VisionPro.Inspection (in Cognex.VisionPro.Inspection.dll) Version: 69.0.0.0 (69.0.0.0)
Syntax
Parameters
- replacementData
- Type: Cognex.VisionPro.Inspection CogVerificationData
The replacement CogVerificationData.
Events
| Event Type | Reason |
|---|---|
| InspectionReplacingEvent | Fires at the start of a call to this method. |
| InspectionReplacedEvent | Fires at the end of a call to this method. |
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | Thrown if not currently connected. |
See Also