2.2.3.2 Size

This data type represents a size of a screen buffer area of a user interface.

This data type is a Complex Object (see section 2.2.5.2) with the following extended properties (see section 2.2.5.2.9):

  • Hardcoded type of the object

    • Property name: T.

    • Property type: String (see section 2.2.5.1.1).

    • Property value: System.Management.Automation.Host.Size

  • Size value

    • Property name: V.

    • Property type: Complex Object (section 2.2.5.2) with the following extended properties (section 2.2.5.2.9):

      • Width of an area.

        • Property name: width.

        • Property type: Signed int (see section 2.2.5.1.11).

      • Height of an area.

        • Property name: height.

        • Property type: Signed int (see section 2.2.5.1.11).

The Complex Objects described in this section SHOULD have no associated type names (section 2.2.5.2.3).

Example:

 <Obj N="Value" RefId="8">
   <MS>
     <S N="T">System.Management.Automation.Host.Size</S>
     <Obj N="V" RefId="9">
       <MS>
         <I32 N="width">181</I32>
         <I32 N="height">98</I32>
       </MS>
     </Obj>
   </MS>
 </Obj>