VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Dicom Namespace / DicomDataSetCollection Class / CopyTo(DicomDataSet[],Int32) Method
Syntax Requirements SeeAlso
In This Topic
    CopyTo(DicomDataSet[],Int32) Method (DicomDataSetCollection)
    In This Topic
    Copies the entire DicomDataSetCollection to a compatible one-dimensional array, starting at the specified index of the target array.
    Syntax
    'Declaration
    
    Public Sub CopyTo( _
    ByVal array
    The one-dimensional System.Array that is the destination of the elements copied from DicomDataSetCollection. The System.Array must have zero-based indexing.
    () As DicomDataSet, _
    ByVal arrayIndex
    The zero-based index in array at which copying begins.
    As System.Int32 _
    )
    public void CopyTo(
    DicomDataSet[] array,
    System.Int32 arrayIndex
    )
    public: void CopyTo(
    DicomDataSet*[]* array,
    System.Int32 arrayIndex
    )
    public:
    void CopyTo(
    array<DicomDataSet^>^ array,
    System.Int32 arrayIndex
    )

    Parameters

    array
    The one-dimensional System.Array that is the destination of the elements copied from DicomDataSetCollection. The System.Array must have zero-based indexing.
    arrayIndex
    The zero-based index in array at which copying begins.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also