cArray: CopyEx |
Copies a section of one Array to another Array and performs type casting as necessary.
Public Sub CopyEx( ByRef SourceArray As Variant, ByVal SourceIndex As Long, ByRef DestinationArray As Variant, ByVal DestinationIndex As Long, ByVal Count As Long, Optional ByVal AddressOfCopier As Long = 0 )
Default: 0
The AddressOfCopier method signature must be two parameters of ByRef for the datatypes of each of the arrays. The destination array element is the first parameter.
Public Sub CopyCallback(ByRef dst As String, ByRef src As MyClass) dst = src.Name End Sub
Project VBCorLib Overview Class cArray Overview cArray Properties cArray Methods Copy CreateInstance