Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_GeneralGeneral Functions

Public Function CollectionTryGetItem (
Key As String,
coll As Collection,
ByRef Value As Variant
) As Boolean

TestColl.Add (1,"one") TestColl.Add (2,"two") TestColl.Add (3,"three") KeyInDictionary("one", TestColl) => True KeyInDictionary("four", TestColl) => False

Key as String

Key to check

coll as Collection

The collection

ByRef Value as Variant

The value returned from the collection

Call Template:

Dim b As Boolean
b = xf.Gen.CollectionTryGetItem(Key, coll, Value)

See Also:

Example 1:


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