2.2.3.1 Coordinates

This data type represents a position in the screen buffer of a user interface.

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

  • Hardcoded type of the object

    • Property name: T.

    • type: String (see section 2.2.5.1.1).

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

  • Coordinates value

    • Property name: V.

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

      • X coordinate (0 is the leftmost column).

        • Property name: x.

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

      • Y coordinate (0 is the topmost row).

        • Property name: y.

        • 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="17">
   <MS>
     <S N="T">System.Management.Automation.Host.Coordinates</S>
     <Obj N="V" RefId="18">
       <MS>
         <I32 N="x">0</I32>
         <I32 N="y">0</I32>
       </MS>
     </Obj>
   </MS>
 </Obj>