IntPtr.IEquatable<IntPtr>.Equals(IntPtr) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回值,這個值表示這個實例是否等於另一個帶正負號的整數。
virtual bool System.IEquatable<System.IntPtr>.Equals(IntPtr other) = IEquatable<IntPtr>::Equals;
bool IEquatable<IntPtr>.Equals(IntPtr other);
abstract member System.IEquatable<System.IntPtr>.Equals : nativeint -> bool
override this.System.IEquatable<System.IntPtr>.Equals : nativeint -> bool
Function Equals (other As IntPtr) As Boolean Implements IEquatable(Of IntPtr).Equals
參數
- other
-
IntPtr
nativeint
一個帶符號整數來比較這個實例。
傳回
true若 other 等於此實例的值;否則 。 false
實作
備註
此成員為明確介面成員實作。 它只能在實 IntPtr 例投射到 IEquatable<T> 介面時使用。