Share this page

# GetSerializedDataContract

Example: GetSerializedObject | Alphabetical List of Functions

Deserializes a Data Contract from the specified file.

    Object LrReplayUtils.GetSerializedDataContract<T>( string strFilename );

## VB.NET

    Function LrReplayUtils.GetSerializedDataContract<T>( ByVal strFilename As String ) as Object

T | The type of the DataContract.
strFilename | The XML file containing the serialized object. The file must be located in the script's data\SerializedObjects directory.

GetSerializedObject deserializes a DataContract object from the specified file located under the script data\SerializedObjects directory. The method returns an object of the type specified by argument T.

Note: Do not add this function manually to a script. It is generated by VuGen automatically.

## Parameterization

Parameterization is not applicable to this function.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: