Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Coordinates Structure

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Defines the X (column) and Y (row) coordinates that are used to describe the corners of a Rectangle object.

Namespace:   System.Management.Automation.Host
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

public struct Coordinates

NameDescription
System_CAPS_pubmethodCoordinates(Int32, Int32)

Creates a new Coordinates object that contains the X (column) and Y (row) coordinates.

NameDescription
System_CAPS_pubpropertyX

Gets and sets the X (column) coordinate.

System_CAPS_pubpropertyY

Gets and sets the Y (row) coordinate.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the current Coordinates structure is equal to the specified structure.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Gets a hash code for the current Coordinates structure.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Converts the current Coordinates structure to a string.(Overrides ValueType.ToString().)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(Coordinates, Coordinates)

Compares two Coordinates structures to determine whether their respective X and Y coordinate values are equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(Coordinates, Coordinates)

Compares two Coordinates structures to determine whether their respective X and Y coordinate values are not equal.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft