Mono Class Library: System.IntPtr Overview | Members

System.IntPtr.Equals Method

Determines whether the current instance and the specified object represent the same type and value.

public override bool Equals (object obj)

Parameters

obj
The object to compare to the current instance.

Returns

true if obj is a IntPtr instance and has the same value as the current instance. If obj is a null reference or is not an instance of IntPtr, returns false.

Remarks

Note: The method overrides object.Equals(object).

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0