次の方法で共有


Coordinates Struct

Definition

Represents an (x,y) coordinate pair.

public value class Coordinates
public struct Coordinates
type Coordinates = struct
Public Structure Coordinates
Inheritance
Coordinates

Constructors

Coordinates(Int32, Int32)

Initializes a new instance of the Coordinates class and defines the X and Y values.

Properties

X

Gets and sets the X coordinate.

Y

Gets and sets the Y coordinate.

Methods

Equals(Object)

Overrides Equals(Object)

GetHashCode()

Overrides GetHashCode()

ToString()

Overrides ToString()

Operators

Equality(Coordinates, Coordinates)

Compares two instances for equality.

Inequality(Coordinates, Coordinates)

Compares two instances for inequality.

Applies to