Skip to main content

Provides attributes that are used to define metadata for objects used as data sources. Commonly Used Types: System.ComponentModel.DataAnnotations.ValidationResult System.ComponentModel.DataAnnotations.IValidatableObject System.ComponentModel.DataAnnotations.ValidationAttribute System.ComponentModel.DataAnnotations.RequiredAttribute System.ComponentModel.DataAnnotations.StringLengthAttribute System.ComponentModel.DataAnnotations.DisplayAttribute System.ComponentModel.DataAnnotations.RegularExpressionAttribute System.ComponentModel.DataAnnotations.DataTypeAttribute System.ComponentModel.DataAnnotations.RangeAttribute System.ComponentModel.DataAnnotations.KeyAttribute When using NuGet 3.x this package requires at least version 3.4.

Total Downloads
3.5B
3,510,162,670
Published
Nov 9, 2020
6y ago

Get Started

dotnet add package System.ComponentModel.Annotations --version 5.0.0
ProductVersions
.NET Standard
netstandard1.1netstandard1.3netstandard1.4netstandard2.0netstandard2.1
MonoAndroid
monoandroid1.0
MonoTouch
monotouch1.0
Universal Windows Platform
uap10.0.16299
Other
.NETCore5.0.NETFramework4.5.NETFramework4.6.1.NETPortable0.0-Profile7Windows8.0Xamarin.Mac2.0Xamarin.TVOS1.0Xamarin.WatchOS1.0Xamarin.iOS1.0

Downloads by Version

Depended On By

Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 17 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.