PowerTCP Emulation for .NET
Serialize Method




Object to serialize.
Stream destination for the serialized data.
Serialize an object to the provided destination stream.
Syntax
Public Sub Serialize( _
   ByVal objectToSerialize As Object, _
   ByVal destination As Stream _
) 
Dim instance As ComponentBase
Dim objectToSerialize As Object
Dim destination As Stream
 
instance.Serialize(objectToSerialize, destination)
public void Serialize( 
   object objectToSerialize,
   Stream destination
)
public: void Serialize( 
   Object* objectToSerialize,
   Stream* destination
) 
public:
void Serialize( 
   Object^ objectToSerialize,
   Stream^ destination
) 

Parameters

objectToSerialize
Object to serialize.
destination
Stream destination for the serialized data.
Remarks
Can be used at runtime to persist the state of an object. For example, all runtime parameters of a Session object could be saved.
See Also

Reference

ComponentBase Class
ComponentBase Members


PowerTCP Emulation for .NET Documentation Version 4.7
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic