PropertyObject.Serialize

Syntax

PropertyObject.Serialize( stream, objectName, RWoptions)

Purpose

Adds the contents of the object to a stream of string data.

Remarks

If you call this method on an alias object , TestStand generates the stream using the object to which the alias refers. This method does not include alias subproperty objects in the stream.

Parameters

stream As String

[In/Out] Specifies an existing string or an empty string. The method returns a new string that contains the contents of the string passed for this parameter and the contents of the object.

objectName As String

[In] Specifies the name with which to store the object in the stream.

RWoptions As Long

[In] Pass 0 to specify the default behavior, or pass one or more ReadWriteOptions constants. Use the bitwise-OR operator to specify multiple read/write options.

See Also

Engine.SerializeObjects

PropertyObject.GetXML

PropertyObject.IsAliasObject

PropertyObject.UnserializeEx

PropertyObject.Write

ReadWriteOptions

Thread Safety of the PropertyObject API and TestStand Variables