net9.0
namespace System.ComponentModel.DataAnnotations
{
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public sealed class ComparePropertyAttribute : CompareAttribute
{
protected override ValidationResult IsValid(object value, ValidationContext validationContext);
}
}
.NET | 5.06.07.08.09.0 |
---|---|
.NET Core | 3.03.1 |
.NET Standard | 2.1 |
Information specific to net9.0 | |
Assembly | Microsoft.AspNetCore.Components.DataAnnotations.Validation , Version=3.2.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Your project needs a package reference to |
Package | Microsoft.AspNetCore.Components.DataAnnotations.Validation netstandard2.1 |
Preview | This API is contained in a prerelease package. |
Platform Restrictions | This API is supported on all platforms. |