CogVisionDataFileCDB ReadComment Method Cognex VisionPro 9.24
Gets the comment associated with the specified record index.

Namespace: Cognex.VisionPro.ImageFile
Assembly: Cognex.VisionPro.ImageFile (in Cognex.VisionPro.ImageFile.dll) Version: 91.0.0.0
Syntax

public string ReadComment(
	int index
)

Parameters

index
Type: System Int32
The index of the ICogVisionData whose comment to get.

Return Value

Type: String
Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionindex is out of range.
[T:Cognex.VisionPro.Exceptions.CogNoFileOpenException>]The file is not open.
ObjectDisposedExceptionThis CDB file has been disposed.
See Also