GCHandle.Equals Method 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Equals(Object) | Determines whether the specified GCHandle object is equal to the current GCHandle object. | 
| Equals(GCHandle) | Indicates whether the current instance is equal to another instance of the same type. | 
Equals(Object)
- Source:
- GCHandle.cs
- Source:
- GCHandle.cs
- Source:
- GCHandle.cs
- Source:
- GCHandle.cs
public:
 override bool Equals(System::Object ^ o);public override bool Equals(object o);public override readonly bool Equals(object? o);public override bool Equals(object? o);override this.Equals : obj -> boolPublic Overrides Function Equals (o As Object) As BooleanParameters
Returns
true if the specified GCHandle object is equal to the current GCHandle object; otherwise, false.
Remarks
Two GCHandle objects are equal if they point to the same memory handle.
Applies to
Equals(GCHandle)
- Source:
- GCHandle.cs
- Source:
- GCHandle.cs
- Source:
- GCHandle.cs
- Source:
- GCHandle.cs
Indicates whether the current instance is equal to another instance of the same type.
public:
 virtual bool Equals(System::Runtime::InteropServices::GCHandle other);public readonly bool Equals(System.Runtime.InteropServices.GCHandle other);public bool Equals(System.Runtime.InteropServices.GCHandle other);override this.Equals : System.Runtime.InteropServices.GCHandle -> boolPublic Function Equals (other As GCHandle) As BooleanParameters
- other
- GCHandle
An instance to compare with this instance.
Returns
true if the current instance is equal to the other instance; otherwise, false.