net471
namespace System.ComponentModel.DataAnnotations
{
    [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
    public sealed class KeyAttribute : Attribute
    {
        public KeyAttribute();
    }
}
NetFx Compat Lab
1.8 %
Reference this API
nuget.org
1.1 %
Reference this API
Upgrade Planner
1.1 %
Reference this API
.NET 5.06.07.08.09.0
.NET Core 1.01.12.02.12.23.03.1
.NET Framework 4.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1
.NET Standard 1.11.21.31.41.51.62.02.1
Information specific to net471
Assembly

System.ComponentModel.DataAnnotations , Version=4.0.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

Requires any:

  • Your project needs an assembly reference to System.ComponentModel.DataAnnotations.

  • Your project needs a package reference to System.ComponentModel.Annotations.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API

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