2.2.5.2.4 ToString

Serialization of Complex Objects can include a string that represents the object (see section 2.2.5.3.4.4). Serialization MUST preserve information that the higher layer provides about string representation of an object. As described in section 2.2.5.3.4.4, an object might not provide a string representation, in which case the ToString element MUST be omitted.

XML Element: <ToString>

XML Content: Follows the XML schema specification [XMLSCHEMA2] for the "string" data type. Contents of the string MUST be encoded as described in section 2.2.5.3.2.

Example:

 <Obj RefId="RefId-0">
   <TN RefId="RefId-0">
     <T>System.Drawing.Point</T>
     <T>System.ValueType</T>
     <T>System.Object</T>
   </TN>
   <ToString>{X=12,Y=34}</ToString>
   <Props>
     <B N="IsEmpty">false</B>
     <I32 N="X">12</I32>
     <I32 N="Y">34</I32>
   </Props>
 </Obj>