# PointPointPointPoint Struct

## 定義

``public value class Point : IFormattable``
``````[System.Security.SecurityCritical]
public struct Point : IFormattable``````
``````type Point = struct
interface IFormattable``````
``````Public Structure Point
Implements IFormattable``````

PointPointPointPoint

## 建構函式

 Point(Double, Double) Point(Double, Double) Point(Double, Double) Point(Double, Double) 初始化包含特定值的 Point 結構。Initializes a Point struct that contains the specified values.

## 屬性

 X X X X 取得或設定這個 Point 結構的 X 座標值。Gets or sets the X-coordinate value of this Point struct. Y Y Y Y 取得或設定這個 Y 的 Point 座標值。Gets or sets the Y-coordinate value of this Point.

## 方法

 Equals(Object) Equals(Object) Equals(Object) Equals(Object) 判斷特定物件是否為 Point，以及它包含的值是否與這個 Point 相同。Determines whether the specified object is a Point and whether it contains the same values as this Point. Equals(Point) Equals(Point) Equals(Point) Equals(Point) 比較兩個 Point 結構是否相等。Compares two Point structs for equality. GetHashCode() GetHashCode() GetHashCode() GetHashCode() 傳回這個 Point 的雜湊程式碼。Returns the hash code for this Point. ToString() ToString() ToString() ToString() 建立這個 String 的 Point 表示。Creates a String representation of this Point. ToString(IFormatProvider) ToString(IFormatProvider) ToString(IFormatProvider) ToString(IFormatProvider) 使用指定的文化特性特定格式資訊，建立此 Point 的 String 表示。Creates a String representation of this Point using the specified culture-specific formatting information..

## 運算子

 Equality(Point, Point) Equality(Point, Point) Equality(Point, Point) Equality(Point, Point) 比較兩個 Point 結構是否相等。Compares two Point structs for equality. Inequality(Point, Point) Inequality(Point, Point) Inequality(Point, Point) Inequality(Point, Point) 比較兩個 Point 結構是否不相等Compares two Point structs for inequality

## 明確介面實作

 IFormattable.ToString(String, IFormatProvider) IFormattable.ToString(String, IFormatProvider) IFormattable.ToString(String, IFormatProvider) IFormattable.ToString(String, IFormatProvider) 如需這個成員的說明，請參閱 ToString(String, IFormatProvider)。For a description of this member, see ToString(String, IFormatProvider).

## 擴充方法

 ToVector2(Point) ToVector2(Point) ToVector2(Point) ToVector2(Point)