Populates the provided SerializationInfo with the data needed to serialize the object.
Namespace: Cognex.VisionPro.ImplementationAssembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 65.1.0.0 (65.1.0.0)
Syntax
Parameters
- obj
- Type: System Object
The object to serialize.
- info
- Type: System.Runtime.Serialization SerializationInfo
The SerializationInfo to populate with data.
- context
- Type: System.Runtime.Serialization StreamingContext
The destination for this serialization.
- nonVisionProBase
- Type: System Type
A base class of "obj" which has it's own, non-visionpro serialization implementation. GetObjectData() will not serialize the private members of this base class.
See Also