DocumentHandle.Equals Method

Definition

Overloads

Equals(Object)
Equals(DocumentHandle)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Source:
Handles.Debug.cs
Source:
Handles.Debug.cs
Source:
Handles.Debug.cs
Source:
Handles.Debug.cs
C#
public override bool Equals(object? obj);
C#
public override bool Equals(object obj);

Parameters

obj
Object

Returns

Applies to

.NET 10 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)

Equals(DocumentHandle)

Source:
Handles.Debug.cs
Source:
Handles.Debug.cs
Source:
Handles.Debug.cs
Source:
Handles.Debug.cs

Indicates whether the current object is equal to another object of the same type.

C#
public bool Equals(System.Reflection.Metadata.DocumentHandle other);

Parameters

other
DocumentHandle

An object to compare with this object.

Returns

true if the current object is equal to the other parameter; otherwise, false.

Implements

Applies to

.NET 10 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)