Share via


ListGroupingCollection.CopyTo Method

Copies the entire ListGroupingCollection to a compatible one-dimensional array, starting at the specified index of the target array.

Namespace: Microsoft.EssentialBusinessServer.Console.ObjectModel
Assembly: Microsoft.EssentialBusinessServer.Console.ObjectModel (in microsoft.essentialbusinessserver.console.objectmodel.dll)

Usage

Syntax

'Declaration
Public Sub CopyTo ( _
    array As ListGrouping(Of TBusinessObject)(), _
    arrayIndex As Integer _
)
public void CopyTo (
    ListGrouping<TBusinessObject>[] array,
    int arrayIndex
)
public:
virtual void CopyTo (
    array<ListGrouping<TBusinessObject>^>^ array, 
    int arrayIndex
) sealed
public final void CopyTo (
    ListGrouping<TBusinessObject>[] array, 
    int arrayIndex
)
public final function CopyTo (
    array : ListGrouping<TBusinessObject>[], 
    arrayIndex : int
)

Parameters

  • array
    The one-dimensional array that is the destination of the elements copied from the ListGroupingCollection. The array must have zero-based indexing.
  • arrayIndex
    The zero-based index in the array where copying begins.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008 64-bit Edition, Windows Vista 64-bit Edition, Windows Essential Business Server 2008 Standard, Windows Essential Business Server 2008 Premium

Target Platforms

Windows Essential Business Server 2008 Standard, Windows Essential Business Server 2008 Premium

See Also

Reference

ListGroupingCollection Generic Class
ListGroupingCollection Members
Microsoft.EssentialBusinessServer.Console.ObjectModel Namespace