name: System.ComponentModel.Annotations
description: 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.
license_spdx: MIT
version: 5.0.0-preview.8.20407.11
spec_version: 1.0
download_url: https://www.nuget.org/api/v2/package/System.ComponentModel.Annotations/5.0.0-preview.8.20407.11
home_url: https://github.com/dotnet/runtime
news_url: https://libraries.io/nuget/System.ComponentModel.Annotations/versions.atom
date: 2020-08-25
about_resource: NONE
libraries_io_url: https://libraries.io/nuget/System.ComponentModel.Annotations?number=5.0.0-preview.8.20407.11
vcs_tool: git
vcs_repository: https://github.com/dotnet/runtime
vcs_branch: main
