When serializing or deserializing, an instance of this class can be passed in
as the "additional" parameter to the constructor of a SerializationContext
structure in order to selectively serialize fields according to their
option bits.
Inheritance Hierarchy
Cognex.VisionPro.Implementation CogSerializationOptionsContext
Namespace: Cognex.VisionPro.Implementation
Assembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 93.1.0.0 (93.1.0.0)
Syntax
The CogSerializationOptionsContext type exposes the following members.
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.) | |
| FromOptionBits |
Given a set of option bits, returns a value to be passed into the "additional"
parameter of a StreamingContext structure.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ShouldSerialize | Obsolete.
Returns true if a given field should be serialized.
| |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| OptionBits |
The option bits for the fields to be serialized.
|
See Also