ModelStateDictionary.Count Property

Gets the number of key/value pairs in the collection.

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

'Declaration
Public ReadOnly Property Count As Integer 
	Get
'Usage
Dim instance As ModelStateDictionary 
Dim value As Integer 

value = instance.Count

Property Value

Type: System.Int32
The number of key/value pairs in the collection.

Implements

ICollection(Of T).Count
Show: