语言

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>,才能使用它。

适用于