Share via


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

  • arrayIndex
    Type: System.Int32
    The location within the destination array to copy the items from the dictionary to.

.NET Framework Security

See Also

Reference

ModelItemDictionary Class

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture