Views Members

Include Protected Members
Include Inherited Members

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

The Views type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the parent Outlook application for the object. Read-only. (Inherited from _Views.)
Public property Class Returns an OlObjectClass constant indicating the object's class. Read-only. (Inherited from _Views.)
Public property Count Returns an Integer (int in C#) value indicating the count of objects in the specified collection. Read-only. (Inherited from _Views.)
Public property Item Returns an View object from the collection. (Inherited from _Views.)
Public property Parent Returns the parent Object of the specified object. Read-only. (Inherited from _Views.)
Public property Session Returns the NameSpace object for the current session. Read-only. (Inherited from _Views.)

Top

Methods

  Name Description
Public method Add Creates a new view in the Views collection. (Inherited from _Views.)
Public method GetEnumerator() This member is inherited from the base type of the parent interface. (Inherited from _Views.)
Public method Remove Removes an object from the collection. (Inherited from _Views.)

Top

Events

  Name Description
Public event ViewAdd Occurs when a view is added to the collection. Microsoft Outlook creates the new view and passes it to this event. (Inherited from _ViewsEvents_Event.)
Public event ViewRemove Occurs when a view has been removed from the specified collection. (Inherited from _ViewsEvents_Event.)

Top

See Also

Reference

Views Interface

Microsoft.Office.Interop.Outlook Namespace