Share via


ModelItemCollection.CopyTo Method

When overridden in a derived class, copies the contents of the collection into the specified array.

Namespace:  Microsoft.Windows.Design.Model
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public MustOverride Sub CopyTo ( _
    array As ModelItem(), _
    arrayIndex As Integer _
)
public abstract void CopyTo(
    ModelItem[] array,
    int arrayIndex
)
public:
virtual void CopyTo(
    array<ModelItem^>^ array, 
    int arrayIndex
) abstract
abstract CopyTo : 
        array:ModelItem[] * 
        arrayIndex:int -> unit 
public abstract function CopyTo(
    array : ModelItem[], 
    arrayIndex : int
)

Parameters

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

Implements

ICollection<T>.CopyTo(array<T[], Int32)

.NET Framework Security

See Also

Reference

ModelItemCollection Class

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture