CogSerializer MethodsCognex VisionPro 9.24

The CogSerializer type exposes the following members.

Methods

  NameDescription
Public methodStatic memberDeepCopyObject(Object)
Returns a deep copy of the supplied object.
Public methodStatic memberDeepCopyObject(Object, CogSerializationOptionsConstants)
Returns a deep copy of the supplied object, modulated by the supplied serialization options.
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 memberGetFileFormat
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.)
Public methodStatic memberLoadObjectFromFile(String)
Loads an object from the given file. The format of the file will be determined automatically for convenience.
Public methodStatic memberLoadObjectFromFile(String, Type)
Loads an object from a file in the specified format.
Public methodStatic memberLoadObjectFromFile(String, Type, CogSerializationOptionsConstants)
Loads an object from a file in a specified format, with option bits that cause fields to be selectively persisted.
Public methodStatic memberLoadObjectFromStream(Stream)
Loads an object from a stream. Attempt to automatically determine format.
Public methodStatic memberLoadObjectFromStream(Stream, Type)
Loads an object from a stream in a specified format.
Public methodStatic memberLoadObjectFromStream(Stream, Type, CogSerializationOptionsConstants)
Loads an object from a stream in a specified format, with option bits that cause fields to be selectively persisted.
Public methodStatic memberLoadObjectFromStream(Stream, Type, CogSerializationOptionsConstants, StreamingContextStates)
Loads an object from a stream in a specified format, with option bits that cause fields to be selectively persisted.
Public methodStatic memberLoadObjectFromString(String)Obsolete.
Loads an object from a string in a text format.
Public methodStatic memberLoadObjectFromString(String, Type)Obsolete.
Loads an object from a string in a specified format.
Public methodStatic memberLoadObjectFromString(String, Type, CogSerializationOptionsConstants)Obsolete.
Loads an object from a string in a specified format, with option bits that cause fields to be selectively persisted.
Public methodStatic memberLoadObjectFromString(String, Type, CogSerializationOptionsConstants, StreamingContextStates)Obsolete.
Loads an object from a string in a specified format, with option bits that cause fields to be selectively persisted.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberSaveObjectToFile(Object, String)
Saves an object to a file in a binary format.
Public methodStatic memberSaveObjectToFile(Object, String, Type)
Saves an object to a file in a specified format.
Public methodStatic memberSaveObjectToFile(Object, String, Type, CogSerializationOptionsConstants)
Saves an object to a file in a specified format, with option bits that cause fields to be selectively persisted.
Public methodStatic memberSaveObjectToStream(Object, Stream)
Saves an object to a stream in a binary format.
Public methodStatic memberSaveObjectToStream(Object, Stream, Type)
Saves an object to a stream in a specified format.
Public methodStatic memberSaveObjectToStream(Object, Stream, Type, CogSerializationOptionsConstants)
Saves an object to a stream in a specified format, with option bits that cause fields to be selectively persisted.
Public methodStatic memberSaveObjectToStream(Object, Stream, Type, CogSerializationOptionsConstants, StreamingContextStates)
Saves an object to a stream in a specified format, with option bits that cause fields to be selectively persisted.
Public methodStatic memberSaveObjectToString(Object)Obsolete.
Saves an object to a string as text.
Public methodStatic memberSaveObjectToString(Object, Type)Obsolete.
Saves an object to a string in a specified format.
Public methodStatic memberSaveObjectToString(Object, Type, CogSerializationOptionsConstants)Obsolete.
Saves an object to a string in a specified format, with option bits that cause fields to be selectively persisted.
Public methodStatic memberSaveObjectToString(Object, Type, CogSerializationOptionsConstants, StreamingContextStates)Obsolete.
Saves an object to a string in a specified format, with option bits that cause fields to be selectively persisted.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also