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

定义

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

 virtual bool System.IEquatable<System.UIntPtr>.Equals(UIntPtr other) = IEquatable<UIntPtr>::Equals;
bool IEquatable<UIntPtr>.Equals (UIntPtr other);
abstract member System.IEquatable<System.UIntPtr>.Equals : unativeint -> bool
override this.System.IEquatable<System.UIntPtr>.Equals : unativeint -> bool
Function Equals (other As UIntPtr) As Boolean Implements IEquatable(Of UIntPtr).Equals

参数

other
UIntPtr

要与此实例比较的无符号整数指针。An unsigned 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. 它只能在 UIntPtr 实例被强制转换为 IEquatable<T> 接口时使用。It can be used only when the UIntPtr instance is cast to an IEquatable<T> interface.

适用于