Delete the specified records from the current open file.
Namespace: Cognex.VisionPro.ImageFileAssembly: Cognex.VisionPro.ImageFile (in Cognex.VisionPro.ImageFile.dll) Version: 75.0.0.0
Syntax
Parameters
- visionDataIndices
- Type: System Int32
The record indices to delete.
Implements
ICogVisionDataFileProvider Delete( Int32 )Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | <para>Fires when the value of this property changes.</para><para>The following state flag may be affected:</para><list type="bullet",<item><see cref="F:Cognex.VisionPro.ImageFile.CogVisionDataFileCDB.SfCount"/></item></list> |
Exceptions
| Exception | Condition |
|---|---|
| [T:Cognex.VisionPro.Exceptions.CogBadFileModeException>] | The Mode is Read, so the CDB file cannot be written to. |
| ObjectDisposedException | This CDB file has been disposed. |
| [T:Cognex.VisionPro.Exceptions.CogNoFileOpenException>] | The file is not open. |
| ArgumentOutOfRangeException | Any indices in visionDataIndices is out of range. |
See Also