ItemLogoRefs Key

Associated Value Type

Array (VT_ARRAY)

Contains

String (VT_BSTR)

Description

An agent uses the strings passed via the ItemLogoRefs option to populate the LogoRefs collection of each Item object it creates during the refresh cycle.

Note   Do not simply assign a LogoRefs collection to the RefreshOptions collection under the key "itemlogorefs."  The LogoRefs collection is a class List object, whereas the "itemlogorefs" option is defined to contain an Array (SAFEARRAY).  The assignment will succeed, however, the agent will fail to property populate any new Item object's LogoRefs collection during the refresh cycle.

Example

' VBScript
Project.AddLogo("icon","/images/icon.gif","ICON")
ForAgentLogoNames = Array ("icon")
Channel.RefreshOptions("itemlogorefs") = ForAgentLogoNames
Channel.Refresh(Project)

Applies to Agents

File System
Search
Promotions
Briefing


© 1997-1998 Microsoft Corporation. All rights reserved.