Click or drag to resize

SerializationTryGetObjectT(String, T) Method

Note: This API is now obsolete.

Attempts XML deserialization on the XML string and returns the typed object for it.

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

Parameters

serializedObject  String
String that contains the serialized representation of the object.
deserializedObject  T
An object of type T that is passed in as the container to hold the deserialized object from the string serializedObject.

Type Parameters

T
The generic type T that is to be deserialized.

Return Value

Boolean
Boolean value indicating if the deserialization was successful.
See Also