ValidatableTypeAttribute Classe

Définition

Indique qu’un type peut être validé pour prendre en charge la découverte par le générateur de validations.

public ref class ValidatableTypeAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class)]
[System.Diagnostics.CodeAnalysis.Experimental("ASP0029", UrlFormat="https://aka.ms/aspnet/analyzer/{0}")]
public sealed class ValidatableTypeAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
[<System.Diagnostics.CodeAnalysis.Experimental("ASP0029", UrlFormat="https://aka.ms/aspnet/analyzer/{0}")>]
type ValidatableTypeAttribute = class
    inherit Attribute
Public NotInheritable Class ValidatableTypeAttribute
Inherits Attribute
Héritage
ValidatableTypeAttribute
Attributs

Constructeurs

Nom Description
ValidatableTypeAttribute()

Indique qu’un type peut être validé pour prendre en charge la découverte par le générateur de validations.

S’applique à