TempDataDictionary.ICollection(KeyValuePair(String, Object)).CopyTo Method

Copies a key/value pair to the specified array at the specified index.

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

private abstract CopyTo : 
        array:KeyValuePair<string, Object>[] * 
        index:int -> unit  
private override CopyTo : 
        array:KeyValuePair<string, Object>[] * 
        index:int -> unit

Parameters

array
Type: System.Collections.Generic.KeyValuePair(String, Object)[]

The target array.

index
Type: System.Int32

The index.

Implements

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

This member is an explicit interface member implementation. It can be used only when the TempDataDictionary instance is cast to an ICollection(T) interface.

Show: