CogSerializationOptionsContext ClassCognex VisionPro
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

System Object
  Cognex.VisionPro.Implementation CogSerializationOptionsContext

Namespace: Cognex.VisionPro.Implementation
Assembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 65.1.0.0 (65.1.0.0)
Syntax

public class CogSerializationOptionsContext

The CogSerializationOptionsContext type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFromOptionBits
Given a set of option bits, returns a value to be passed into the "additional" parameter of a StreamingContext structure.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodShouldSerializeObsolete.
Returns true if a given field should be serialized.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Fields

  NameDescription
Public fieldOptionBits
The option bits for the fields to be serialized.
Top
See Also