Function Reference

_OL_ViewPropertyGet

Returns all properties of a view.

#Include <OutlookEX_GUI.au3>
_OL_ViewPropertyGet($oOL, $vView[, $vFolder])

 

Parameters

$oOL Outlook object returned by a preceding call to _OL_Open()
$vView Index, name or object of the view to be queried
$vFolder [optional] Folder object as returned by _OL_FolderAccess or full name of folder. Has to be specified when $vView is not a view object, els the parameter is ignored

 

Return Value

Success: two-dimensional one based array with the following information:
    0 - Name of the property
    1 - Value of the property
    2 - Type of the property (1 if the property value is an object, else 0. So you can distinguish from an empty value)
Failure: Returns 0 and sets @error:
    1 - $vFolder has not been specified
    2 - Error accessing the specified folder. See @extended for errorcode returned by GetFolderFromID
    3 - Error accessing the folders views. @extended is set to the COM error code
    4 - View does not exist or an error occurred. @extended is set to the COM error code (if any)
    5 - ViewType of the specified view can not be found in table $aViewProperties

 

Remarks

None.

 

Related