Load an object from a stream, with option bits that cause fields to be selectively depersisted.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.21.0.0
Syntax
Parameters
- obj
- Type: IObject
- stream
- Type: System.IO Stream
The input stream.
- option
- Type: Cognex.Vision SerializerOptionsConstants
The option bits specifying what should be depersisted.
Return Value
Type:The loaded object.
Exceptions
| Exception | Condition |
|---|---|
| SerializationException | An error occurred during deserialization. |
See Also