Previous in Contents Next in Contents

Logos Collection

The Logos collection is an object of class Dictionary intended to contain key/value pairs indexing Logo objects with a simple name. Child objects can uniquely identify the class Logo objects for inclusion of their CDF string by adding the key names to their respective LogoRefs collection. Case is ignored in mapping LogoRefs strings to Logos keys when the CDF string is generated.

Type

IDictionary (VT_DISPATCH)

Contains

Keys to associate Logo objects (any name desired, as long as it is unique). The values are ILogo dispinterfaces on these Logo objects.

Default

Empty

Remarks

You can add Logo objects to the Logos collection using the AddLogo method, which creates, initializes, and attaches a Logo object, or you can do so explicitly.

If you attempt to do explicit compares of strings found in LogoRefs collections to the keys in this Dictionary object, make sure you do so in a case-insensitive manner as well. The keys in the Dictionary object are always converted to lowercase, regardless of how the key was referred to during assignment.

Example

Set Logo1 = CreateObject("Push.Logo")
Set Project = CreateObject("Push.Project")
Set Project.Logos("Main Logo") = Logo1

See Also

Class Dictionary

LogoRefs Collection


© 1997-2000 Microsoft Corporation. All rights reserved.