Compartir a través de


ModelBindingContext.ValidationState Propiedad

Definición

Obtiene o establece el ValidationStateDictionary. Se usa para realizar el seguimiento del estado de validación para personalizar el comportamiento de validación de un objeto de modelo.

public:
 abstract property Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateDictionary ^ ValidationState { Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateDictionary ^ get(); void set(Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateDictionary ^ value); };
public abstract Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary ValidationState { get; set; }
member this.ValidationState : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary with get, set
Public MustOverride Property ValidationState As ValidationStateDictionary

Valor de propiedad

Comentarios

El establecedor de propiedades solo se proporciona con fines de prueba unitaria.

Se aplica a