Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CopyTo Method

ModelStateDictionary.CopyTo Method (KeyValuePair<String, ModelState>[], Int32)


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

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

public void CopyTo(
	KeyValuePair<string, ModelState>[] array,
	int arrayIndex


Type: System.Collections.Generic.KeyValuePair<StringModelState>[]

The array. The array must have zero-based indexing.

Type: System.Int32

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

Return to top
© 2015 Microsoft