MobileServiceCollectionView<T>.CopyTo Method

Copies the elements of the collection to an array.

Namespace:  Microsoft.WindowsAzure.MobileServices
Assembly:  Microsoft.WindowsAzure.MobileServices.Managed (in Microsoft.WindowsAzure.MobileServices.Managed.dll)

Syntax

'Declaration
Public Sub CopyTo ( _
    array As T(), _
    arrayIndex As Integer _
)
'Usage
Dim instance As MobileServiceCollectionView 
Dim array As T()
Dim arrayIndex As Integer

instance.CopyTo(array, arrayIndex)
public void CopyTo(
    T[] array,
    int arrayIndex
)
public:
void CopyTo(
    array<T>^ array, 
    int arrayIndex
)
member CopyTo : 
        array:'T[] * 
        arrayIndex:int -> unit
public function CopyTo(
    array : T[], 
    arrayIndex : int
)

Parameters

  • array
    Type: array<T[]
    The array to copy to.
  • arrayIndex
    Type: System.Int32
    Starting index for the copy.

See Also

Reference

MobileServiceCollectionView<T> Class

Microsoft.WindowsAzure.MobileServices Namespace