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
public:
override bool Equals(System::Object ^ o);
public override bool Equals (object o);
public override bool Equals (object? o);
public override readonly bool Equals (object? o);
override this.Equals : obj -> bool
Public Overrides Function Equals (o As Object) As Boolean
Parameters
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
Indicates whether the current instance is equal to another instance of the same type.
public:
virtual bool Equals(System::Runtime::InteropServices::GCHandle other);
public bool Equals (System.Runtime.InteropServices.GCHandle other);
public readonly bool Equals (System.Runtime.InteropServices.GCHandle other);
override this.Equals : System.Runtime.InteropServices.GCHandle -> bool
Public Function Equals (other As GCHandle) As Boolean
Parameters
- other
- GCHandle
An instance to compare with this instance.
Returns
true
if the current instance is equal to the other instance; otherwise, false
.
Implements
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om