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 memberRegisterType
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 method_SetNativePtr (Inherited from SBWrap<gemfire::Serializable>.)
Protected methodAssignPtr (Inherited from SBWrap<gemfire::Serializable>.)
Protected methodDispose (Inherited from SBWrap<gemfire::Serializable>.)
Protected methodFinalize (Inherited from SBWrap<gemfire::Serializable>.)
Protected methodInternalCleanup (Inherited from SBWrap<gemfire::Serializable>.)
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