語言

IntPtr.IEquatable<IntPtr>.Equals(IntPtr) 方法

定義

傳回值,這個值表示這個實例是否等於另一個帶正負號的整數。

 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> 介面時使用。

適用於