net481
namespace System.Web.Mvc
{
    [AttributeUsage(AttributeTargets.Property)]
    [Obsolete("The recommended alternative is to use the System.ComponentModel.DataAnnotations.CompareAttribute type, which has the same functionality as this type.")]
    public class CompareAttribute : ValidationAttribute, IClientValidatable
    {
        [IteratorStateMachine(typeof(<GetClientValidationRules>d__12))]
        public IEnumerable<ModelClientValidationRule> GetClientValidationRules(ModelMetadata metadata, ControllerContext context);
    }
}
Upgrade Planner
0.0 %
Reference this API
.NET Framework 4.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1
Information specific to net481
Assembly

System.Web.Mvc , Version=5.3.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

Your project needs a package reference to Microsoft.AspNet.Mvc.

Package Microsoft.AspNet.Mvc (5.3.0) net45
Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API

11/13/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙