Get the number of items in the currently connected database.
Namespace: Cognex.VisionPro.DatabaseAssembly: Cognex.VisionPro.Database (in Cognex.VisionPro.Database.dll) Version: 69.0.0.0 (69.0.0.0)
Syntax
Return Value
Type: Int32The number of items in the currenlty connected database.
Exceptions
| Exception | Condition |
|---|---|
| ObjectDisposedException | Thrown if this object has already been disposed. |
| InvalidOperationException | Thrown if not currently connected. |
| InvalidOperationException | Thrown if unable to get the count of items. |
See Also