/1[], 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)

Syntax

public void CopyTo(
    KeyValuePair<string, ModelState>[] array,
    int arrayIndex
)
public:
virtual void CopyTo(
    array<KeyValuePair<String^, ModelState^>>^ array,
    int arrayIndex
) sealed
abstract CopyTo : 
        array:KeyValuePair<string, ModelState>[] *
        arrayIndex:int -> unit
override CopyTo : 
        array:KeyValuePair<string, ModelState>[] *
        arrayIndex:int -> unit
Public Sub CopyTo (
    array As KeyValuePair(Of String, ModelState)(),
    arrayIndex As Integer
)

Parameters

  • arrayIndex
    Type: System.Int32

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

Implements

ICollection<T>.CopyTo(T[], Int32)

See Also

ModelStateDictionary Class
System.Web.Http.ModelBinding Namespace

Return to top