EntityHandle.Equals Method

Definition

Overloads

Equals(Object)

Returns a value that indicates whether the current instance and the specified object are equal.

Equals(EntityHandle)

Returns a value that indicates whether the current instance and the specified EntityHandle are equal.

Equals(Object)

Source:
EntityHandle.cs
Source:
EntityHandle.cs
Source:
EntityHandle.cs
Source:
EntityHandle.cs

Returns a value that indicates whether the current instance and the specified object are equal.

public override bool Equals (object obj);
public override bool Equals (object? obj);

Parameters

obj
Object

The object to compare with the current instance.

Returns

true if obj is an EntityHandle and is equal to the current instance; otherwise, false.

Applies to

.NET 9 dan versi lain
Produk Versi
.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
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)
UWP 10.0

Equals(EntityHandle)

Source:
EntityHandle.cs
Source:
EntityHandle.cs
Source:
EntityHandle.cs
Source:
EntityHandle.cs

Returns a value that indicates whether the current instance and the specified EntityHandle are equal.

public bool Equals (System.Reflection.Metadata.EntityHandle other);

Parameters

other
EntityHandle

The value to compare with the current instance.

Returns

true if the current instance and other are equal; otherwise, false.

Implements

Applies to

.NET 9 dan versi lain
Produk Versi
.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
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)
UWP 10.0