Click or drag to resize

SerializationTryGetObjectT(Byte, T) Method

Note: This API is now obsolete.

Attempts binary deserialization on the byte array and returns the typed object for it.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
[ObsoleteAttribute("This method will be removed in future builds, use the Deserialize() method instead.")]
public static bool TryGetObject<T>(
	byte[] serializedObject,
	out T deserializedObject
)
View Source

Parameters

serializedObject  Byte
A Byte array representing the object (serializedObject) to deserialize.
deserializedObject  T
A type T object, passed by reference, that is used to be hold the deserialized object.

Type Parameters

T
The generic type T that is to be deserialized.

Return Value

Boolean
A Boolean which indicates whether the deserialization process was successful.
See Also