Share via


ValidationErrorCollection.Add Method

Include Protected Members
Include Inherited Members

Adds a ValidationError to the collection.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

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

Top