ModelStateDictionary.Values Property

Gets a list that contains the values in the model-state dictionary.

Namespace:  System.Web.WebPages.Html
Assembly:  System.Web.WebPages (in System.Web.WebPages.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>
The list of values in the dictionary.

Implements

IDictionary<TKey, TValue>.Values

See Also

Reference

ModelStateDictionary Class

System.Web.WebPages.Html Namespace