Export (0) Print
Expand All

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)

void ICollection<KeyValuePair<string, Object>>.CopyTo(
	KeyValuePair<string, Object>[] array,
	int index
)

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:
© 2014 Microsoft