Syntax

C#
public class Serializable
Visual Basic (Declaration)
Public Class Serializable
Visual C++
public ref class Serializable

The type exposes the following members.

Public Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFromData
Deserializes the native (C++) object -- returns an instance of the Serializable class with the native object wrapped inside.
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public operatorStatic memberImplicitOverloaded.
Public methodStatic memberRegisterPdxSerializer
Set the PDX serializer for the cache. If this serializer is set, it will be consulted to see if it can serialize any domain classes which are added to the cache in portable data exchange format.
Public methodStatic memberRegisterPdxType
Register an instance factory method for a given type. This should be used when registering types that implement IPdxSerializable.
Public methodStatic memberRegisterTypeGeneric
Register an instance factory method for a given type. This should be used when registering types that implement IGFSerializable.
Public methodToData
Serializes this native (C++) object.
Public methodToString
Return a string representation of the object. It simply returns the string representation of the underlying native object by calling its toString() function.
(Overrides Object..::ToString()().)

Protected Methods

  NameDescription
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)

Public Properties

  NameDescription
Public propertyClassId
Returns the classId of the instance being serialized. This is used by deserialization to determine what instance type to create and deserialize into.
Public propertyObjectSize
return the size of this object in bytes

See Also