RDOFolders object collection |
RDOFolders collection represents the subfolders of a given RDOFolder object.
Returned by: RDOFolder.Folders
The example below logs to the default MAPI session and prints out the names of all the subfolders of the root IPM folder of the default store:
set Session =
CreateObject("Redemption.RDOSession") |
Derived from: IDispatch |
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Properties |
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Count |
integer. Returns the number of folders in the collection |
set Session =
CreateObject("Redemption.RDOSession") |
|||||||||||||||||||||
_Item(Index) |
Index - variant: integer or a string. A default object property. Retrieves a subfolder with a given index (1 to Count) or a given name Returns RDOFolder object |
|
|||||||||||||||||||||
RawTable |
IUnknown, read-only. Returns the IMAPITable Extended MAPI interface used internally by the RDOItems collection |
||||||||||||||||||||||
Session |
RDOSession, read-only. Returns the parent MAPI session represented by the RDOSession object |
||||||||||||||||||||||
MAPITable |
MAPITable, read-only. Returns the MAPITable Redemption object which can be used to manipulate the collection (restrict, find, etc). |
||||||||||||||||||||||
Methods |
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Item(Index) |
Index - variant: integer or a string. Retrieves a subfolder with a given index (1 to Count) or a given name Returns RDOFolder object |
|
|||||||||||||||||||||
Add(Name, Type) |
Adds new subfolder to the specified folder. Returns an RDOFolder object. Name - string. The name of the folder to add Type - variant, optional. If specified, can be either one of the OlDefaultFolders enums (olFolderCalendar, olFolderContacts, etc) or a string representing the container class (PR_CONTAINER_CLASS in Extended MAPI), e.g. "IPF.Contact" |
set Session =
CreateObject("Redemption.RDOSession") |
|||||||||||||||||||||
AddSearchFolder(Name, Type) |
Adds new search folder to the specified folder. Returns an RDOSearchFolder object. Name - string. The name of the search folder to add Type - variant, optional. If specified, can be either one of the OlDefaultFolders enums (olFolderCalendar, olFolderContacts, etc) or a string representing the container class (PR_CONTAINER_CLASS in Extended MAPI), e.g. "IPF.Contact" |
||||||||||||||||||||||
GetFirst |
Returns the first folder in the specified RDOFolders collection. Returns Nothing if no first folder exists, for example, if there are no subfolders. |
|
|||||||||||||||||||||
GetLast |
Returns the last folder in the specified RDOFolders collection. Returns Nothing if no last folder exists, for example, if there are no subfolders. |
|
|||||||||||||||||||||
GetNext |
Returns the next folder in the specified RDOFolders collection. It returns Nothing if no next folder exists, for example, if already positioned at the end of the collection. |
|
|||||||||||||||||||||
GetPrevious |
Returns the previous folder in the specified RDOFolders collection. It returns Nothing if no previous folder exists, for example, if already positioned at the beginning of the collection. |
|
|||||||||||||||||||||
Remove(Index) |
Deletes a subfolder with the specified index (1 to Count) Index - integer, 1 through Count |
|
|||||||||||||||||||||
|