ModelMetadata.Equals Method

Definition

Overloads

Equals(ModelMetadata)

Source:
ModelMetadata.cs
Source:
ModelMetadata.cs
Source:
ModelMetadata.cs

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

C#
public bool Equals (Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata other);
C#
public bool Equals (Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata? other);

Parameters

Returns

Implements

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

Equals(Object)

Source:
ModelMetadata.cs
Source:
ModelMetadata.cs
Source:
ModelMetadata.cs

Determines whether the specified object is equal to the current object.

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

Parameters

obj
Object

Returns

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0