ModelMetadata.Equals Method
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.
- Source:
- ModelMetadata.cs
- Source:
- ModelMetadata.cs
- Source:
- ModelMetadata.cs
Indicates whether the current object is equal to another object of the same type.
public:
virtual bool Equals(Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ other);
C#
public bool Equals (Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata other);
C#
public bool Equals (Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata? other);
override this.Equals : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata -> bool
Public Function Equals (other As ModelMetadata) As Boolean
Parameters
- other
- ModelMetadata
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 |
- Source:
- ModelMetadata.cs
- Source:
- ModelMetadata.cs
- Source:
- ModelMetadata.cs
Determines whether the specified object is equal to the current object.
public:
override bool Equals(System::Object ^ obj);
C#
public override bool Equals (object obj);
C#
public override bool Equals (object? obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean
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 |