MobileServiceCollectionView<T>.ICollection<Object>.CopyTo Method
Copies the elements of the collection to an array, starting at a particular array index.
Namespace: Microsoft.WindowsAzure.MobileServices
Assembly: Microsoft.WindowsAzure.MobileServices.Managed (in Microsoft.WindowsAzure.MobileServices.Managed.dll)
Syntax
'Declaration
Private Sub CopyTo ( _
array As Object(), _
arrayIndex As Integer _
) Implements ICollection(Of Object).CopyTo
'Usage
Dim instance As MobileServiceCollectionView
Dim array As Object()
Dim arrayIndex As Integer
CType(instance, ICollection(Of Object)).CopyTo(array, _
arrayIndex)
void ICollection<Object>.CopyTo(
Object[] array,
int arrayIndex
)
private:
virtual void CopyTo(
array<Object^>^ array,
int arrayIndex
) sealed = ICollection<Object^>::CopyTo
private abstract CopyTo :
array:Object[] *
arrayIndex:int -> unit
private override CopyTo :
array:Object[] *
arrayIndex:int -> unit
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- array
Type: array<System.Object[]
The one-dimensional array that is the destination of the elements copied from collection. The array must have zero-based indexing.
- arrayIndex
Type: System.Int32
The zero-based index in array at which copying begins.
Implements
ICollection<T>.CopyTo(array<T[], Int32)