ValidationMetadata Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validation metadata details for a ModelMetadata.
public ref class ValidationMetadata
public class ValidationMetadata
type ValidationMetadata = class
Public Class ValidationMetadata
- Inheritance
-
ValidationMetadata
Constructors
ValidationMetadata() |
Properties
HasValidators |
Gets a value that indicates if the model has validators . |
IsRequired |
Gets or sets a value indicating whether or not the model is a required value. Will be ignored
if the model metadata being created is not a property. If |
PropertyValidationFilter |
Gets or sets an IPropertyValidationFilter implementation that indicates whether this model should be validated. See PropertyValidationFilter. |
ValidateChildren |
Gets or sets a value that indicates whether children of the model should be validated. If |
ValidationModelName |
Gets or sets a model name that will be used in ValidationEntry. |
ValidatorMetadata |
Gets a list of metadata items for validators. |