ModelItemDictionary.CopyTo Method
When overridden in a derived class, copies the contents of the dictionary into the specified array beginning at the specified index.
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Protected Overridable Sub CopyTo ( _
array As KeyValuePair(Of ModelItem, ModelItem)(), _
arrayIndex As Integer _
)
protected virtual void CopyTo(
KeyValuePair<ModelItem, ModelItem>[] array,
int arrayIndex
)
protected:
virtual void CopyTo(
array<KeyValuePair<ModelItem^, ModelItem^>>^ array,
int arrayIndex
)
abstract CopyTo :
array:KeyValuePair<ModelItem, ModelItem>[] *
arrayIndex:int -> unit
override CopyTo :
array:KeyValuePair<ModelItem, ModelItem>[] *
arrayIndex:int -> unit
protected function CopyTo(
array : KeyValuePair<ModelItem, ModelItem>[],
arrayIndex : int
)
Parameters
- array
Type: array<System.Collections.Generic.KeyValuePair<ModelItem, ModelItem>[]
The array for the current ModelItemDictionary to be copied to.
- arrayIndex
Type: System.Int32
The location within the destination array to copy the items from the dictionary to.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Model Namespace