ValidateNeverAttribute Třída
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Označuje, že vlastnost nebo parametr by měly být vyloučeny z ověření. Pokud se použije u vlastnosti, ověřovací systém tato vlastnost vylučuje. Pokud se použije u parametru, ověřovací systém tento parametr vyloučí. Při použití na typ systém ověřování vyloučí všechny vlastnosti v daném typu.
public ref class ValidateNeverAttribute sealed : Attribute, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::IPropertyValidationFilter
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class ValidateNeverAttribute : Attribute, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IPropertyValidationFilter
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class ValidateNeverAttribute : Attribute, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IPropertyValidationFilter
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type ValidateNeverAttribute = class
inherit Attribute
interface IPropertyValidationFilter
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type ValidateNeverAttribute = class
inherit Attribute
interface IPropertyValidationFilter
Public NotInheritable Class ValidateNeverAttribute
Inherits Attribute
Implements IPropertyValidationFilter
- Dědičnost
-
ValidateNeverAttribute
- Atributy
- Implementuje
Konstruktory
| ValidateNeverAttribute() |
Metody
| ShouldValidateEntry(ValidationEntry, ValidationEntry) |
Získá indikaci, jestli |