Serializer MethodsCognex VisionPro 9.22

The Serializer type exposes the following members.

Methods

  NameDescription
Public methodStatic memberDeepCopyObject

Make a deep copy of the supplied object.

Public methodEquals
Compares the equality of this object with another.
(Overrides ObjectBase Equals(Object).)
Public methodGetHashCode
Returns the hash code of this object.
(Overrides ObjectBase GetHashCode .)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberLoadObjectFromBytes

Load an object from bytes.

Public methodStatic memberLoadObjectFromFile(String)

Load an object from a file.

Public methodStatic memberLoadObjectFromFile(String, SerializerOptionsConstants)

Load an object from a file, with option bits that cause fields to be selectively depersisted.

Public methodStatic memberLoadObjectFromStream(Stream)

Load an object from a stream.

Public methodStatic memberLoadObjectFromStream(Stream, SerializerOptionsConstants)

Save an object to a stream.

Public methodStatic memberSaveObjectToBytes

Save an object to bytes.

Public methodStatic memberSaveObjectToFile(IObject, String)

Save an object to a file.

Public methodStatic memberSaveObjectToFile(IObject, String, SerializerOptionsConstants)

Save an object to a file, with option bits that cause fields to be selectively persisted.

Public methodStatic memberSaveObjectToStream(IObject, Stream)

Save an object to a stream.

Public methodStatic memberSaveObjectToStream(IObject, Stream, SerializerOptionsConstants)

Load an object from a stream, with option bits that cause fields to be selectively depersisted.

Public methodToString

Returns a human readable string representation of the object.

(Overrides Object ToString .)
Top
See Also