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
- array
Type: array<Microsoft.Windows.Design.Model.ModelItem[]
The array for the current ModelItemCollection to be copied to.
- 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
- 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