Engine.UnserializeObjects ( stream, reservedParam = 0, handlerType = ConflictHandler_Error)
Returns the array of property objects that were unserialized.
Converts a string of serialized objects into an array of PropertyObjects.
Call this method to convert the return value of SerializeObjects into an array of objects. Typically, you use the SerializeObjects and UnserializeObjects methods to put TestStand data on the Windows clipboard and to get data from it.
Use UnserializeObjectsAndTypes instead of UnserializeObjects if you intend to insert the array of property objects generated from the stream into a property object file. You should also add the types returned by UnserializeObjectsAndTypes to the file. You can add the types to the file by calling TypeUsageList.Union on the object that PropertyObjectFile.TypeUsageList returns. Pass the typesUsed output value as the unionTypeUsageList parameter to TypeUsageList.Union.
When you unserialize a step or a sequence, call Step.CreateNewUniqueStepId, Sequence.CreateNewUniqueStepIds, or Engine.CreateNewUniqueStepIds to replace the unique step Id with a new unique Id.
stream As String
[In] Specifies the serialized objects created by SerializeObjects.
reservedParam As long
[In] Pass 0.
This parameter has a default value of 0.
handlerType As TypeConflictHandlerTypes
[In] Specifies how to handle type conflicts in the stream.
This parameter has a default value of ConflictHandler_Error.
PropertyObjectFile.TypeUsageList