Méthode Add

Adds a ValidationError to the collection.

Ce membre est surchargé. Pour plus d'informations sur ce membre, notamment sur la syntaxe et l'utilisation, et pour visualiser des exemples, cliquez sur un nom dans la liste de surcharge.

Liste de surcharge

  Nom Description
Méthode publique Add(ValidationError) Adds a ValidationError to the end of the collection.
Méthode publique Add(IModelComponent, String) Creates and adds a ValidationError, with the specified IModelComponent value and error description, to the end of the collection.
Méthode publique Add(IModelComponent, String, ErrorPriority) Creates and adds a ValidationError, with the specified IModelComponent value, error description, and ErrorPriority value, to the end of the collection.
Méthode publique Add(IModelComponent, String, Int32) Creates and adds a ValidationError, with the specified IModelComponent value, error description, and error code, to the end of the collection.
Méthode publique Add(IModelComponent, String, ErrorPriority, Int32) Creates and adds a ValidationError, with the specified IModelComponent value, error description, ErrorPriority value, and error code, to the end of the collection.

Haut de la page