Generate an array of strings corresponding to the keys in the database.
Namespace: Cognex.VisionPro.DatabaseAssembly: Cognex.VisionPro.Database (in Cognex.VisionPro.Database.dll) Version: 75.1.0.0 (75.1.0.0)
Syntax
Return Value
Type: StringAn array of strings containing the keys in the database. This can be an empty array if there are no items in the database.
Implements
ICogDatabase GetKeysExceptions
| Exception | Condition |
|---|---|
| ObjectDisposedException | Thrown if this object has already been disposed. |
| InvalidOperationException | Thrown if not currently connected. |
| InvalidOperationException | Thrown if unable to get the keys in the database. |
See Also