R
R Avery
I have been thinking of various ways to populate my collection classes
with its children.
1) I could create the .Add function of the collection class to accept a
child object as an argument, which then adds the child to the collection.
2) I could create the .Add function of the collection class to not
accept any arguments, and to just return a new child object
I do not know when one method would be preferred over the other. Can
anyone help? Thanks!
with its children.
1) I could create the .Add function of the collection class to accept a
child object as an argument, which then adds the child to the collection.
2) I could create the .Add function of the collection class to not
accept any arguments, and to just return a new child object
I do not know when one method would be preferred over the other. Can
anyone help? Thanks!