brClone method

Creates a new clsD3DynamicArray object that is a copy of the clsD3DynamicArray object.

Syntax

Set oDynArray = object.brClone

Parameters

Parameter Description
oDynArray An object variable that represents a new instance of a clsD3DynamicArray class that is a copy of object.
object An object variable that represents the clsD3DynamicArray object to be copied.

Remarks

The brClone method and the brCopy method return the same results.

Example

Sub Main()
   Dim oEnv As New clsD3Environment
   Dim oArray_TopSellers As New clsD3DynamicArray
   Dim oArray2 As clsD3DynamicArray
 
   oArray_TopSellers.brCString = "Smith" & D3AMChr & "Jones" & _
   D3AMChr & "Green"
   Set oArray2 = oArray_TopSellers.brClone
 
   ' Create a comma-delimited list.
   oArray2.brConvert D3AMChr, ","
   Debug.Print "The top sellers are " & oArray2.brCString
 
   ' Extract the 1st attribute.
   Debug.Print "The #1 seller is " & _
   oArray_TopSellers.brExtract(1).brCString
   Set oArray_TopSellers = Nothing
   Set oEnv = Nothing
End Sub

See also

brCopy method