View View View Interface
Definition
Represents a customizable view used to sort, group, and view data.
public interface class View
[System.Runtime.InteropServices.Guid("00063095-0000-0000-C000-000000000046")]
public interface View
Public Interface View
- Attributes
Remarks
The View object allows you to create customizable views that allow you to better sort, group and ultimately view data of all different types. There are a variety of different view types that provide the flexibility needed to create and maintain your important data.
Views are defined and customized using the View object's XML property. The XML property allows you to create and set a customized XML schema that defines the various features of a view.
Use Views(index
), where index
is the name of the View object or its ordinal value, to return a single View object.
Use the Add(String, OlViewType, OlViewSaveOption) method of the Views collection to create a new view.
Always use Save() to save a view after you change any property of the view.
Properties
Application Application Application |
Returns an Application object that represents the parent Outlook application for the object. Read-only. |
Class Class Class |
Returns an OlObjectClass constant indicating the object's class. Read-only. |
Filter Filter Filter |
Returns or sets a String (string in C#) value that represents the filter for a view. Read/write. |
Language Language Language |
Returns or sets a String (string in C#) value that represents the language setting for the object that defines the language used in the menu. Read/write. |
LockUserChanges LockUserChanges LockUserChanges |
Returns or sets a Boolean (bool in C#) value that indicates whether a user can modify the settings of the current view. Read/write. |
Name Name Name |
Returns or sets a String (string in C#) value that represents the display name for the object. Read/write. |
Parent Parent Parent |
Returns the parent Object of the specified object. Read-only. |
SaveOption SaveOption SaveOption |
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. |
Session Session Session |
Returns the NameSpace object for the current session. Read-only. |
Standard Standard Standard |
Returns a Boolean (bool in C#) that specifies whether or not the view is a built-in Outlook view. Read-only |
ViewType ViewType ViewType |
Returns an OlViewType constant representing the view type of a View object. Read-only. |
XML XML XML |
Returns or sets a String (string in C#) value that specifies the XML definition of the current view. Read/write. |
Methods
Apply() Apply() Apply() |
Applies the view to the Microsoft Outlook user interface. |
Copy(String, OlViewSaveOption) Copy(String, OlViewSaveOption) Copy(String, OlViewSaveOption) |
Creates a new instance of a View object. |
Delete() Delete() Delete() |
Deletes an object from the collection. |
GoToDate(DateTime) GoToDate(DateTime) GoToDate(DateTime) |
Changes the date used by the current view to display information. |
Reset() Reset() Reset() |
Resets a built-in Microsoft Outlook view to its original settings. |
Save() Save() Save() |
Saves the view, or saves the changes to a view. |