 | SerializationUtilsToMemoryStream Method |
Serializes the specified object to a binary stream.
Namespace: Slash.Serialization.UtilsAssembly: Slash.Serialization (in Slash.Serialization.dll) Version: 1.0.6018.40176
Syntaxpublic static MemoryStream ToMemoryStream(
Object obj
)
Public Shared Function ToMemoryStream (
obj As Object
) As MemoryStream
public:
static MemoryStream^ ToMemoryStream(
Object^ obj
)
static member ToMemoryStream :
obj : Object -> MemoryStream
Parameters
- obj
- Type: SystemObject
Object to serialize.
Return Value
Type:
MemoryStream Memory stream which contains the serialized object.
See Also