|   | SerializationGetBytes Method | 
        
        
          Note: This API is now obsolete.
        
        
            Performs binary serialization on the serializable object and returns the output as byte array.
            
        
        Namespace: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.257-beta+00aa2366fbb9ec75f636ebc7cfa610e3826a727c
 Syntax
Syntax[ObsoleteAttribute("This method will be removed in future builds, use the Serialize() method instead.")]
public static byte[] GetBytes(
	Object serializableObject
)<ObsoleteAttribute("This method will be removed in future builds, use the Serialize() method instead.")>
Public Shared Function GetBytes ( 
	serializableObject As Object
) As Byte()public:
[ObsoleteAttribute(L"This method will be removed in future builds, use the Serialize() method instead.")]
static array<unsigned char>^ GetBytes(
	Object^ serializableObject
)
[<ObsoleteAttribute("This method will be removed in future builds, use the Serialize() method instead.")>]
static member GetBytes : 
        serializableObject : Object -> byte[] GSF.Serialization.GetBytes = function(serializableObject);
Parameters
- serializableObject  Object
- The serializable object.
Return Value
ByteA byte array representation of the object if the specified object can be serialized; otherwise an empty array.
 See Also
See Also