Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartItemCollection Class / CopyTo Method
The one-dimensional array that is the destination of the items copied from the collection. The Array must have zero-based indexing.
The zero-based index in array at which copying begins.


In This Topic
    CopyTo Method
    In This Topic
    Copies the items of the collection to an array, starting at a particular array index.
    Syntax
    'Declaration
     
    Public Sub CopyTo( _
       ByVal array As Array, _
       ByVal startIndex As Integer _
    ) 
    'Usage
     
    Dim instance As SmartItemCollection
    Dim array As Array
    Dim startIndex As Integer
     
    instance.CopyTo(array, startIndex)
    public void CopyTo( 
       Array array,
       int startIndex
    )

    Parameters

    array
    The one-dimensional array that is the destination of the items copied from the collection. The Array must have zero-based indexing.
    startIndex
    The zero-based index in array at which copying begins.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also