RDOFavorite object

 

RDOFavorite object represents a folder added as a favorite .

 

Returned by:

RDOFavorites.Add

RDOFavorites.Item

 

The example below enumerates all favorites in the default store in teh profile and prinst the names of the favorite mail folders.

set MySession = CreateObject("Redemption.RDOSession")
MySession.MAPIOBJECT = Application.Session.MAPIOBJECT
set
Favorites = MySession.Favorites
for each
Favorite in Favorites
  if
Favorite.FolderType = 1 Then 'fftMail
   
Debug.Print Favorite.Name
  End If
next

 

Properties

Methods

 


Derived from: IDispatch


Properties


DisplayOrder
Integer read/write
Represents the order of the favorite object in its parent collection.
 
Folder
RDOFolder, read-only.
Returns the folder corresponding to the favorite object
 
FolderEntryId
string, read-only.
Returns the entry id of the favorite folder.
 
FolderType
rdoFavoriteFolderType, Read-only.
Returns one of the rdoFavoriteFolderType enum values describing the folder type.

fftUnknown = 0
fftMail = 1
fftCalendar = 2
fftContacts = 3
fftTasks = 4
fftNotes = 5
fftJournal = 6
see example above
GroupClsid
String, read/write.
Corresponds to the PR_WLINK_GROUP_CLSID MAPI property
 
GroupHeaderID
String, read/write.
Corresponds to the PR_WLINK_GROUP_HEADER_ID MAPI property
 
GroupName
String, read/write.
Corresponds to the PR_WLINK_GROUP_NAME_W MAPI property
 
Name
String, read/write.
The name displayed by Outlook. Defaults to the folder name.
 
StorageItem
RDOMail, read-only. Returns the hidden message that stores properties for the favorite item.
 
Store
RDOStore, read-only.
Returns the message store of the folder corresponding to the favorite object
 
StoreEntryId
string, read-only.
Returns the store entry id of the favorite folder.
 

Methods


Delete
Deletes the favorite object.
The corresponding folder is not deleted.
 
Save
Saves the favorite object after one of its properties is modified.