共用方式為


Views Members (Outlook)

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

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.

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.