|
SerializationGetStream Method
|
Note: This API is now obsolete.
Performs binary serialization on the serializable object and returns the serialized object as a stream.
Namespace: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.256-beta+0e7e94d39a9b10efe7e26e3b8d5130afc0dd4d74
Syntax<ObsoleteAttribute("This method will be removed in future builds, use the Serialize() method instead.")>
Public Shared Function GetStream (
serializableObject As Object
) As MemoryStream
[<ObsoleteAttribute("This method will be removed in future builds, use the Serialize() method instead.")>]
static member GetStream :
serializableObject : Object -> MemoryStream
GSF.Serialization.GetStream = function(serializableObject);
View SourceParameters
- serializableObject Object
- The serializable object.
Return Value
MemoryStreamA memory stream representation of the object if the specified object can be serialized; otherwise an empty stream.
See Also