|
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: GSFAssembly: 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>(
string 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 String,
<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(
String^ serializedObject,
[OutAttribute] T% deserializedObject
)
[<ObsoleteAttribute("This method will be removed in future builds, use the Deserialize() method instead.")>]
static member TryGetObject :
serializedObject : string *
deserializedObject : 'T byref -> bool
JavaScript does not support generic types or methods.
View SourceParameters
- 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
BooleanBoolean value indicating if the deserialization was successful.
See Also