Represents a collection of ModelError instances.
Inheritance Hierarchy
System.Object
  System.Collections.ObjectModel.Collection<ModelError>
    System.Web.Http.ModelBinding.ModelErrorCollection
Namespace:  System.Web.Http.ModelBinding
Assembly:  System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class ModelErrorCollection _
    Inherits Collection(Of ModelError)
'Usage
Dim instance As ModelErrorCollection
[SerializableAttribute]
public class ModelErrorCollection : Collection<ModelError>
[SerializableAttribute]
public ref class ModelErrorCollection : public Collection<ModelError^>
[<SerializableAttribute>]
type ModelErrorCollection =  
    class
        inherit Collection<ModelError>
    end
public class ModelErrorCollection extends Collection<ModelError>
The ModelErrorCollection type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .jpeg) | ModelErrorCollection | Initializes a new instance of the ModelErrorCollection class. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .jpeg) | Count | (Inherited from Collection<ModelError>.) | 
| .jpeg) | Item | (Inherited from Collection<ModelError>.) | 
| .jpeg) | Items | (Inherited from Collection<ModelError>.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .jpeg) | Add(Exception) | Adds the specified Exception object to the model-error collection. | 
| .jpeg) | Add(String) | Adds the specified error message to the model-error collection. | 
| .jpeg) | Add(T) | (Inherited from Collection<ModelError>.) | 
| .jpeg) | Clear | (Inherited from Collection<ModelError>.) | 
| .jpeg) | ClearItems | (Inherited from Collection<ModelError>.) | 
| .jpeg) | Contains | (Inherited from Collection<ModelError>.) | 
| .jpeg) | CopyTo | (Inherited from Collection<ModelError>.) | 
| .jpeg) | Equals | (Inherited from Object.) | 
| .jpeg) | Finalize | (Inherited from Object.) | 
| .jpeg) | GetEnumerator | (Inherited from Collection<ModelError>.) | 
| .jpeg) | GetHashCode | (Inherited from Object.) | 
| .jpeg) | GetType | (Inherited from Object.) | 
| .jpeg) | IndexOf | (Inherited from Collection<ModelError>.) | 
| .jpeg) | Insert | (Inherited from Collection<ModelError>.) | 
| .jpeg) | InsertItem | (Inherited from Collection<ModelError>.) | 
| .jpeg) | MemberwiseClone | (Inherited from Object.) | 
| .jpeg) | Remove | (Inherited from Collection<ModelError>.) | 
| .jpeg) | RemoveAt | (Inherited from Collection<ModelError>.) | 
| .jpeg) | RemoveItem | (Inherited from Collection<ModelError>.) | 
| .jpeg) | SetItem | (Inherited from Collection<ModelError>.) | 
| .jpeg) | ToString | (Inherited from Object.) | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .jpeg) .jpeg) | IList.Add | (Inherited from Collection<ModelError>.) | 
| .jpeg) .jpeg) | IList.Contains | (Inherited from Collection<ModelError>.) | 
| .jpeg) .jpeg) | ICollection.CopyTo | (Inherited from Collection<ModelError>.) | 
| .jpeg) .jpeg) | IEnumerable.GetEnumerator | (Inherited from Collection<ModelError>.) | 
| .jpeg) .jpeg) | IList.IndexOf | (Inherited from Collection<ModelError>.) | 
| .jpeg) .jpeg) | IList.Insert | (Inherited from Collection<ModelError>.) | 
| .jpeg) .gif) | IList.IsFixedSize | (Inherited from Collection<ModelError>.) | 
| .jpeg) .gif) | ICollection<T>.IsReadOnly | (Inherited from Collection<ModelError>.) | 
| .jpeg) .gif) | IList.IsReadOnly | (Inherited from Collection<ModelError>.) | 
| .jpeg) .gif) | ICollection.IsSynchronized | (Inherited from Collection<ModelError>.) | 
| .jpeg) .gif) | IList.Item | (Inherited from Collection<ModelError>.) | 
| .jpeg) .jpeg) | IList.Remove | (Inherited from Collection<ModelError>.) | 
| .jpeg) .gif) | ICollection.SyncRoot | (Inherited from Collection<ModelError>.) | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.