Click or drag to resize

SerializationGetStream Method

Note: This API is now obsolete.

Performs binary serialization on the serializable object and returns the serialized object as a stream.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.305-beta+8726171b3e0af488d8188c8ec8e976599ba45d1f
Syntax
[ObsoleteAttribute("This method will be removed in future builds, use the Serialize() method instead.")]
public static MemoryStream GetStream(
	Object serializableObject
)
View Source

Parameters

serializableObject  Object
The serializable object.

Return Value

MemoryStream
A memory stream representation of the object if the specified object can be serialized; otherwise an empty stream.
See Also