Utility Functions and C Language Reference > .NET Vuser Functions > Alphabetical List of Functions > GetSerializedDataContract


Example: GetSerializedObject Alphabetical List of Functions

Deserializes a Data Contract from the specified file.

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


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 is not applicable to this function.