|
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: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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
)
<ObsoleteAttribute("This method will be removed in future builds, use the Deserialize() method instead.")>
Public Shared Function TryGetObject(Of T) (
serializedObject As Byte(),
<OutAttribute> ByRef deserializedObject As T
) As Boolean
public:
[ObsoleteAttribute(L"This method will be removed in future builds, use the Deserialize() method instead.")]
generic<typename T>
static bool TryGetObject(
array<unsigned char>^ serializedObject,
[OutAttribute] T% deserializedObject
)
[<ObsoleteAttribute("This method will be removed in future builds, use the Deserialize() method instead.")>]
static member TryGetObject :
serializedObject : byte[] *
deserializedObject : 'T byref -> bool
JavaScript does not support generic types or methods.
View SourceParameters
- 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
BooleanA
Boolean which indicates whether the deserialization process was successful.
See Also