Views Members (Outlook)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Contains a collection of all View objects in the current folder.

Events

Name

Description

ViewAdd

Occurs when a view is added to the collection. Microsoft Outlook creates the new view and passes it to this event.

ViewRemove

Occurs when a view has been removed from the specified collection.

Methods

Name

Description

Add

Creates a new view in the Views collection.

Item

Returns an View object from the collection.

Remove

Removes an object from the collection.

Properties

Name

Description

Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

Count

Returns a Long indicating the count of objects in the specified collection. Read-only.

Parent

Returns the parent Object of the specified object. Read-only.

Session

Returns the NameSpace object for the current session. Read-only.