Function Reference

_OL_NavigationFolderGet

Returns information about navigation folders in a group or all groups of a navigation module

#Include <OutlookEX_GUI.au3>
_OL_NavigationFolderGet($oOL, [$iModuleType = $olModuleMail[, $sGroup = ""]])

 

Parameters

$oOL Outlook object returned by a preceding call to _OL_Open()
$iModuleType [optional] Type of the navigation module. Can be any of the OlNavigationModuleType enumeration (default = $olModuleMail)
$sGroup [optional] Name of the navigation group to process (default = "" = process all groups in the navigation module)

 

Return Value

Success: two-dimensional one based array with the following information:
    0 - Name of the navigation group the navigation folder is a member of
    1 - Displayname of the navigation folder
    2 - Folderpath to the "real" folder
    3 - True indicates that the navigation folder is selected for display
    4 - True indicates that the navigation folder can be removed from the navigation pane
    5 - Indicates that the navigation folder is displayed in side-by-side (True) or overlay mode (False)
    6 - Integer that represents the ordinal position of the navigation folder in the navigation pane
Failure: Returns "" and sets @error:
    1 - $oOL is not an object
    2 - Error accessing the navigation pane. @extended is set to the COM error code
    3 - Error accessing the navigation module. @extended is set to the COM error code
    4 - Error accessing the navigation groups. @extended is set to the COM error code
    5 - The specified navigation group could not be found

 

Remarks

This function only works for Outlook 2007 and later.

 

Related

_OL_NavigationFolderAdd, _OL_NavigationFolderRemove