J
Jeff Stewart
Let's say I create a collection of DateTime objects like so:
Dim clxn_Times As Collection = New Collection()
Let's go on to say I add 3 elements to the collection. How do I pull off
the result represented by the following?
clxn_Times(0) = clxn_Times(0).AddDays(-1)
I can't find a way to edit an item in place. But not knowing very much
about Visual Basic (or how to phrase this problem so I can find it in the
documentation), I can't figure out how to get a "reference" to an element so
that the element can be altered in place.
Dim clxn_Times As Collection = New Collection()
Let's go on to say I add 3 elements to the collection. How do I pull off
the result represented by the following?
clxn_Times(0) = clxn_Times(0).AddDays(-1)
I can't find a way to edit an item in place. But not knowing very much
about Visual Basic (or how to phrase this problem so I can find it in the
documentation), I can't figure out how to get a "reference" to an element so
that the element can be altered in place.