Gets the comment associated with the specified record index.
Namespace: Cognex.VisionPro.ImageFileAssembly: Cognex.VisionPro.ImageFile (in Cognex.VisionPro.ImageFile.dll) Version: 75.1.0.0
Syntax
Parameters
- index
- Type: System Int32
The index of the ICogVisionData whose comment to get.
Return Value
Type: StringExceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | index is out of range. |
| [T:Cognex.VisionPro.Exceptions.CogNoFileOpenException>] | The file is not open. |
| ObjectDisposedException | This CDB file has been disposed. |
See Also