ModelStateDictionary.CopyTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies the elements of the model-state dictionary to an array, starting at the specified index.
public void CopyTo (System.Collections.Generic.KeyValuePair<string,System.Web.WebPages.Html.ModelState>[] array, int arrayIndex);
abstract member CopyTo : System.Collections.Generic.KeyValuePair<string, System.Web.WebPages.Html.ModelState>[] * int -> unit
override this.CopyTo : System.Collections.Generic.KeyValuePair<string, System.Web.WebPages.Html.ModelState>[] * int -> unit
Public Sub CopyTo (array As KeyValuePair(Of String, ModelState)(), arrayIndex As Integer)
Parameters
- array
- KeyValuePair<String,ModelState>[]
The one-dimensional Array instance where the elements will be copied to.
- arrayIndex
- Int32
The index in array
at which copying begins.