Create a strongly typed enumerator to facilitate
iterating through the items in this database. Note that
enumerators are fragile - externally adding or removing items
from this database will invalidate the enumerator. Also note
that modifying a CogVerificationData returned by (the Current property of)
this enumerator will have absolutely no affect on the database
since it is a freshly created copy of the database item, just
as with the Fetch method.
Namespace: Cognex.VisionPro.InspectionAssembly: Cognex.VisionPro.Inspection (in Cognex.VisionPro.Inspection.dll) Version: 73.0.0.0 (73.0.0.0)
Syntax
Return Value
Type: IEnumerator CogVerificationDataAn enumerator whose Current property is of type CogVerificationData.
Implements
IEnumerable T GetEnumeratorExceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | Thrown if not currently connected. |
See Also