ContourPoint.Equals 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供物件比較的方法。
多載
| 名稱 | Description |
|---|---|
| Equals(Object) |
判斷給定物件是否為 的 ContourPoint 實例,且等於 的 ContourPoint當前實例。 |
| Equals(ContourPoint) |
判斷給 ContourPoint 定的某個實例是否等於當前的 ContourPoint實例。 |
Equals(Object)
判斷給定物件是否為 的 ContourPoint 實例,且等於 的 ContourPoint當前實例。
public:
override bool Equals(System::Object ^ obj);
public override bool Equals(object? obj);
public override bool Equals(object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean
參數
- obj
- Object
一個可以被鑄造為 的 ContourPoint物件。
傳回
若 與 true 從參數所得ContourPoint的實例相等,則返回 obj ,否則返回 false。
備註
若該參數所提供的 Object 無法obj被鑄造為 ContourPoint,則該方法回傳為 false。
適用於
Equals(ContourPoint)
判斷給 ContourPoint 定的某個實例是否等於當前的 ContourPoint實例。
public:
virtual bool Equals(System::Speech::Synthesis::TtsEngine::ContourPoint other);
public bool Equals(System.Speech.Synthesis.TtsEngine.ContourPoint other);
override this.Equals : System.Speech.Synthesis.TtsEngine.ContourPoint -> bool
Public Function Equals (other As ContourPoint) As Boolean
參數
- other
- ContourPoint
會將這樣的實例 ContourPoint 與當前實例做比較。
傳回
如果目前的實true例與透過ContourPoint參數提供的實例相等,則回傳 otherfalse,否則返回 。