UIntPtr.Equality(UIntPtr, UIntPtr) Operator

Definition

Determines whether two specified instances of UIntPtr are equal.

public:
 static bool operator ==(UIntPtr value1, UIntPtr value2);
public static bool operator == (UIntPtr value1, UIntPtr value2);
static member ( = ) : unativeint * unativeint -> bool
Public Shared Operator == (value1 As UIntPtr, value2 As UIntPtr) As Boolean

Parameters

value1
UIntPtr

The first pointer or handle to compare.

value2
UIntPtr

The second pointer or handle to compare.

Returns

true if value1 equals value2; otherwise, false.

Remarks

The equivalent method for this operator is UIntPtr.Equals(Object)

Applies to