Share via


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

add_ViewAdd

(Inherited from _ViewsEvents_Event.)

Public method

add_ViewRemove

(Inherited from _ViewsEvents_Event.)

Public method

GetEnumerator()

(Inherited from _Views.)

Public method

Remove

Removes an object from the collection. (Inherited from _Views.)

Public method

remove_ViewAdd

(Inherited from _ViewsEvents_Event.)

Public method

remove_ViewRemove

(Inherited from _ViewsEvents_Event.)

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