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

定义

返回一个值,该值指示此实例是否与其他带符号整数指针相等。Returns a value that indicates whether this instance is equal to another signed integer pointer.

 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

要与此实例比较的带符号整数指针。A signed integer pointer to compare with this instance.

返回

Boolean

如果 true 与此实例的值相等,则为 other;否则为 falsetrue if other equals the value of this instance; otherwise, false.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 IntPtr 实例被强制转换为 IEquatable<T> 接口时使用。It can be used only when the IntPtr instance is cast to an IEquatable<T> interface.

适用于