cArray: Copy |
Copies one Array to another Array and performs type casting as necessary.
Public Sub Copy( ByRef SourceArray As Variant, ByRef DestinationArray As Variant, ByVal Count As Long, Optional ByVal AddressOfCopier As Long )
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 Clear CopyEx