ModelStateDictionary.CopyTo Method (KeyValuePair(Of String, ModelState)(), Int32)

.NET Framework (current version)
 

Copies the elements of the dictionary to an array, starting at a specified index.

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

Public Sub CopyTo (
	array As KeyValuePair(Of String, ModelState)(),
	arrayIndex As Integer
)

Parameters

array
Type: System.Collections.Generic.KeyValuePair(Of String, ModelState)()

The one-dimensional array that is the destination of the elements copied from the dictionary. The array must have zero-based indexing.

arrayIndex
Type: System.Int32

The zero-based index in array at which copying starts.

.NET Framework
Available since 4.5
Return to top
Show: