Load an object from a file.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax
Parameters
- path
- Type: System String
The path to the input file.
Return Value
Type: IObjectThe loaded object.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The path argument is not a valid file name. |
| FileOpenException | An error occurred while opening the specified file. |
See Also