Compartir a través de


ValidationErrorCollection Miembros

Contains a collection of ValidationError objects. This class cannot be inherited.

El tipo ValidationErrorCollection expone los siguientes miembros.

Constructores

  Nombre Descripción
Método publico ValidationErrorCollection Initializes a new instance of ValidationError.

Principio

Métodos

  Nombre Descripción
Método publico Add(ValidationError) Adds a ValidationError to the end of the collection.
Método publico Add(IModelComponent, String) Creates and adds a ValidationError, with the specified IModelComponent value and error description, to the end of the collection.
Método publico 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étodo publico 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étodo publico 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.
Método publico AddRange Adds the elements of a ICollection to the end of the collection.
Método publico Clear Removes all elements from the collection.
Método publico Contains Indicates whether the collection contains a specified ValidationError.
Método publico CopyTo Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
Método publico Equals (Se hereda de Object).
Método protegido Finalize (Se hereda de Object).
Método publico GetHashCode (Se hereda de Object).
Método publico GetType (Se hereda de Object).
Método publico IndexOf Gets the index of a specified ValidationError.
Método publico Insert Inserts a ValidationError into the collection at the specified index.
Método protegido MemberwiseClone (Se hereda de Object).
Método publico Remove Removes the specified ValidationError from the collection.
Método publico RemoveAt Removes the ValidationError at the specified index from the collection.
Método publico ToString (Se hereda de Object).

Principio

Propiedades

  Nombre Descripción
Propiedad pública Count Gets the number of ValidationError objects in the collection.
Propiedad pública Item Gets the ValidationError at the specified index.

Principio