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 colelction.
 
Folder
RDOFolder, read-only.
Returns the folder corresponding to the favorite object
 
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
Name
String, read/write.
The name displayed by Outlook. Defaults to the folder name.
 
Store
RDOStore, read-only.
Returns the message store of the folder corresponding to the favorite object
 

Methods


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