Delen via


ModelStateDictionary.Values Property

Gets a collection that contains the values in the dictionary.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public ReadOnly Property Values As ICollection(Of ModelState)
    Get
public ICollection<ModelState> Values { get; }
public:
virtual property ICollection<ModelState^>^ Values {
    ICollection<ModelState^>^ get () sealed;
}

Property Value

Type: System.Collections.Generic.ICollection<ModelState>
A collection that contains the values of the model-state dictionary.

Implements

IDictionary<TKey, TValue>.Values

See Also

Reference

ModelStateDictionary Class

System.Web.Mvc Namespace