Click or drag to resize

SerializationTryDeserializeT(Byte, SerializationFormat, T) Method

Attempts to deserialize a serialized Object.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.249-beta+56964f8aed6f3f2e54faec1539f7ce0ba6548fdf
Syntax
public static bool TryDeserialize<T>(
	byte[] serializedObject,
	SerializationFormat serializationFormat,
	out T deserializedObject
)
View Source

Parameters

serializedObject  Byte
Array of Bytes containing the serialized Object that is to be deserialized.
serializationFormat  SerializationFormat
SerializationFormat in which the serializedObject was serialized.
deserializedObject  T
Deserialized Object.

Type Parameters

T
Type of the deserialized Object to be returned.

Return Value

Boolean
trueif deserialization succeeded; otherwise false.
See Also