ModelErrorCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A collection of ModelError instances.
public ref class ModelErrorCollection : System::Collections::ObjectModel::Collection<Microsoft::AspNetCore::Mvc::ModelBinding::ModelError ^>
public class ModelErrorCollection : System.Collections.ObjectModel.Collection<Microsoft.AspNetCore.Mvc.ModelBinding.ModelError>
type ModelErrorCollection = class
inherit Collection<ModelError>
Public Class ModelErrorCollection
Inherits Collection(Of ModelError)
- Inheritance
-
ModelErrorCollection
Constructors
ModelErrorCollection() |
Methods
Add(Exception) |
Adds the specified |
Add(String) |
Adds the specified error message. |