ValidationStateDictionary Class

Definition

Used for tracking validation state to customize validation behavior for a model object.

public ref class ValidationStateDictionary : System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::Object ^, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateEntry ^>>, System::Collections::Generic::IDictionary<System::Object ^, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateEntry ^>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::Object ^, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateEntry ^>>, System::Collections::Generic::IReadOnlyCollection<System::Collections::Generic::KeyValuePair<System::Object ^, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateEntry ^>>, System::Collections::Generic::IReadOnlyDictionary<System::Object ^, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateEntry ^>
public class ValidationStateDictionary : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<object,Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry>>, System.Collections.Generic.IDictionary<object,Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<object,Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry>>, System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<object,Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry>>, System.Collections.Generic.IReadOnlyDictionary<object,Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry>
type ValidationStateDictionary = class
    interface ICollection<KeyValuePair<obj, ValidationStateEntry>>
    interface seq<KeyValuePair<obj, ValidationStateEntry>>
    interface IEnumerable
    interface IDictionary<obj, ValidationStateEntry>
    interface IReadOnlyCollection<KeyValuePair<obj, ValidationStateEntry>>
    interface IReadOnlyDictionary<obj, ValidationStateEntry>
Public Class ValidationStateDictionary
Implements ICollection(Of KeyValuePair(Of Object, ValidationStateEntry)), IDictionary(Of Object, ValidationStateEntry), IEnumerable(Of KeyValuePair(Of Object, ValidationStateEntry)), IReadOnlyCollection(Of KeyValuePair(Of Object, ValidationStateEntry)), IReadOnlyDictionary(Of Object, ValidationStateEntry)
Inheritance
ValidationStateDictionary
Implements

Constructors

ValidationStateDictionary()

Creates a new ValidationStateDictionary.

Properties

Count
IsReadOnly
Item[Object]
Keys
Values

Methods

Add(KeyValuePair<Object,ValidationStateEntry>)
Add(Object, ValidationStateEntry)
Clear()
Contains(KeyValuePair<Object,ValidationStateEntry>)
ContainsKey(Object)
CopyTo(KeyValuePair<Object,ValidationStateEntry>[], Int32)
GetEnumerator()
Remove(KeyValuePair<Object,ValidationStateEntry>)
Remove(Object)
TryGetValue(Object, ValidationStateEntry)

Explicit Interface Implementations

IEnumerable.GetEnumerator()
IReadOnlyDictionary<Object,ValidationStateEntry>.Keys
IReadOnlyDictionary<Object,ValidationStateEntry>.Values

Applies to