Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_GeneralGeneral Functions

Public Sub CollectionAddOrUpdate (
Key As String,
ByRef Value As Variant,
coll As Collection
)

CollectionAddOrUpdate("one", 1, TestColl) CollectionAddOrUpdate("one", 2, TestColl) Debug.Print TestColl.Item("one) => False CollectionItemIsObject("db", TestColl) 2 => True

Key as String

Key to add.

ByRef Value as Variant

The value to add.

coll as Collection

The collection.

Call Template:

xf.Gen.CollectionAddOrUpdate Key, Value, coll

See Also:

Example 1:


			
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd