ModelStateDictionary.Values Property

Gets a collection that contains the values in the dictionary.

Namespace:  System.Web.Http.ModelBinding
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public ReadOnly Property Values As ICollection(Of ModelState)
    Get
'Usage
Dim instance As ModelStateDictionary
Dim value As ICollection(Of ModelState)

value = instance.Values
public ICollection<ModelState> Values { get; }
public:
virtual property ICollection<ModelState^>^ Values {
    ICollection<ModelState^>^ get () sealed;
}
abstract Values : ICollection<ModelState>
override Values : ICollection<ModelState>
final function get Values () : ICollection<ModelState>

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.Http.ModelBinding Namespace