Freigeben über


Add-Methode

Adds a ValidationError to the collection.

Das Element ist überladen. Um vollständige Informationen zu diesem Element zu erhalten, einschließlich Syntax, Verwendung und Beispielen, klicken Sie auf einen Namen in der Überladungsliste.

Überladungsliste

  Name Beschreibung
Öffentliche Methode Add(ValidationError) Adds a ValidationError to the end of the collection.
Öffentliche Methode Add(IModelComponent, String) Creates and adds a ValidationError, with the specified IModelComponent value and error description, to the end of the collection.
Öffentliche Methode 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.
Öffentliche Methode 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.
Öffentliche Methode 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.

Zum Anfang