This class serializes and deserializes objects in such a way that if fields are
added or removed in future versions of an object, it does not cause an error when
the object is loaded.
Inheritance Hierarchy
Cognex.VisionPro.Implementation CogSerializationSurrogate
Namespace: Cognex.VisionPro.Implementation
Assembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 87.1.0.0 (87.1.0.0)
Syntax
The CogSerializationSurrogate type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogSerializationSurrogate |
Methods
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetObjectData(Object, SerializationInfo, StreamingContext) |
Populates the provided SerializationInfo with the data needed to serialize the object.
| |
| GetObjectData(Object, SerializationInfo, StreamingContext, Type) |
Populates the provided SerializationInfo with the data needed to serialize the object.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetObjectData(Object, SerializationInfo, StreamingContext) |
Populates the object using the information in the SerializationInfo.
| |
| SetObjectData(Object, SerializationInfo, StreamingContext, Type) |
Populates the object using the information in the SerializationInfo.
| |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
See Also