2.2.5.2.9 Extended Properties

This section describes how to serialize extended properties (see section 2.2.5.3.4.2) and property sets (see section 2.2.5.3.4.3) of all Complex Objects.

XML Element: <MS>

XML Contents: Results of serializing values of extended properties and/or results of recursive serialization of property sets (resulting in a nested <MS> element). Properties and property sets can be serialized in any order. Property names and property set names MUST be serialized using the property name attribute described in section 2.2.5.3.1.

Example:

 <!-- serialization of a point with 2 extended properties and with 1 property set that contains 2 other extended properties -->
 <Obj RefId="RefId-0">
   <TN RefId="RefId-0">
     <T>System.Drawing.Point</T>
     <T>System.ValueType</T>
     <T>System.Object</T>
   </TN>
   <ToString>{X=10,Y=20}</ToString>
   <Props>
     <B N="IsEmpty">false</B>
     <I32 N="X">10</I32>
     <I32 N="Y">20</I32>
   </Props>
   <MS>
     <S N="Property1">This is an extended property</S>
     <S N="Property2">This is a second extended property</S>
     <MS N="PropertySet1">
       <S N="Property3">This is a third extended property</S>
       <S N="Property4">This is a forth extended property</S>
     </MS>
   </MS>
 </Obj>