TempDataDictionary.ICollection(Of KeyValuePair(Of 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)
'Declaration Private Sub CopyTo ( _ array As KeyValuePair(Of String, Object)(), _ index As Integer _ ) Implements ICollection(Of KeyValuePair(Of String, Object)).CopyTo 'Usage Dim instance As TempDataDictionary Dim array As KeyValuePair(Of String, Object)() Dim index As Integer CType(instance, ICollection(Of KeyValuePair(Of String, Object))).CopyTo(array, _ index)
Parameters
- array
- Type: System.Collections.Generic.KeyValuePair(Of String, Object)()
The target array.
- index
- Type: System.Int32
The index.
Implements
ICollection(Of 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(Of T) interface.
Show: