IntPtr.Inequality(IntPtr, IntPtr) IntPtr.Inequality(IntPtr, IntPtr) IntPtr.Inequality(IntPtr, IntPtr) IntPtr.Inequality(IntPtr, IntPtr) Operator

Definition

Determines whether two specified instances of IntPtr are not equal.

public:
 static bool operator !=(IntPtr value1, IntPtr value2);
public static bool operator != (IntPtr value1, IntPtr value2);
static member op_Inequality : nativeint * nativeint -> bool
Public Shared Operator != (value1 As IntPtr, value2 As IntPtr) As Boolean

Parameters

value1
IntPtr IntPtr IntPtr IntPtr

The first pointer or handle to compare.

value2
IntPtr IntPtr IntPtr IntPtr

The second pointer or handle to compare.

Returns

true if value1 does not equal value2; otherwise, false.

Remarks

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

Applies to