VistaDB 6
VistaDB.DDA Namespace / IVistaDBIndexCollection Interface / CopyTo Method
The one-dimensional System.Array that is the destination of the elements copied from System.Collections.Generic.ICollection`1. The System.Array must have zero-based indexing.
The zero-based index in array at which copying begins.


In This Topic
    CopyTo Method (IVistaDBIndexCollection)
    In This Topic
    Copies the elements of the System.Collections.Generic.ICollection`1 to an System.Array, starting at a particular System.Array index.
    Syntax
    'Declaration
     
    
    <__DynamicallyInvokableAttribute()>
    Sub CopyTo( _
       ByVal array() As IVistaDBIndexInformation, _
       ByVal arrayIndex As System.Integer _
    ) 
    'Usage
     
    
    Dim instance As IVistaDBIndexCollection
    Dim array() As IVistaDBIndexInformation
    Dim arrayIndex As System.Integer
     
    instance.CopyTo(array, arrayIndex)
    [__DynamicallyInvokable()]
    void CopyTo( 
       IVistaDBIndexInformation[] array,
       System.int arrayIndex
    )

    Parameters

    array
    The one-dimensional System.Array that is the destination of the elements copied from System.Collections.Generic.ICollection`1. The System.Array must have zero-based indexing.
    arrayIndex
    The zero-based index in array at which copying begins.
    Exceptions
    ExceptionDescription
    array is a null reference (Nothing in Visual Basic).
    arrayIndex is less than 0.
    The number of elements in the source System.Collections.Generic.ICollection`1 is greater than the available space from arrayIndex to the end of the destination array.
    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