View.SaveOption Property
Outlook Developer Reference |
Returns an OlViewSaveOption constant that specifies the folders in which the specified view is available and the read permissions attached to the view. Read-only.
Syntax
expression.SaveOption
expression A variable that represents a View object.
Remarks
The SaveOption property is set when the View object is created by using the Views.Add method.
Example
The following Microsoft Visual Basic/Visual Basic for Applications (VBA) example displays the names of all views that can be accessed by all users in the Notes folder.
The following example locks the user interface for all views that are available to all users. The subroutine LockView
accepts the View object and a Boolean value that indicates if the View interface will be locked. In this example the procedure is always called with the Boolean value set to True.
Visual Basic for Applications |
---|
|
See Also