|   | SerializationGetObjectT(String) Method | 
        
        
          Note: This API is now obsolete.
        
        
            Performs XML deserialization on the XML string and returns the typed object for it.
            
        
        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 Deserialize() method instead.")]
public static T GetObject<T>(
	string serializedObject
)
<ObsoleteAttribute("This method will be removed in future builds, use the Deserialize() method instead.")>
Public Shared Function GetObject(Of T) ( 
	serializedObject As String
) As Tpublic:
[ObsoleteAttribute(L"This method will be removed in future builds, use the Deserialize() method instead.")]
generic<typename T>
static T GetObject(
	String^ serializedObject
)
[<ObsoleteAttribute("This method will be removed in future builds, use the Deserialize() method instead.")>]
static member GetObject : 
        serializedObject : string -> 'T JavaScript does not support generic types or methods.
Parameters
- serializedObject  String
- A String representing the object (serializedObject) to deserialize.
Type Parameters
- T
- The type of the object to create from the serialized string serializedObject.
Return Value
TA type T based on 
serializedObject.
 Exceptions
Exceptions| Exception | Condition | 
|---|
| InvalidOperationException | An error occurred during deserialization. The original exception is available using 
            the InnerException property. | 
 Remarks
Remarks
            This function will throw an error during deserialization if the input data is invalid,
            consider using TryGetObject to prevent needing to implement exception handling.
            
 See Also
See Also