_IconView Interface

Definition

This is a primary interface in a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this primary interface only when the method you want to use shares the same name as an event of the COM object; in this case, cast to this interface to call the method, and cast to the latest events interface to connect to the event. Otherwise, use the .NET interface that is derived from the COM coclass to access methods, properties, and events of the COM object. For information about the COM object, see IconView.

public interface class _IconView
[System.Runtime.InteropServices.Guid("00063097-0000-0000-C000-000000000046")]
public interface _IconView
Public Interface _IconView
Derived
Attributes

Properties

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.

Filter

Returns or sets a String (string in C#) value that represents the filter for a view. Read/write.

IconPlacement

Returns or sets an OlIconViewPlacement value that determines how icons are placed within the IconView object. Read/write

IconViewType

Returns or sets an OlIconViewType constant that determines how Outlook items are displayed in the IconView object. Read/write.

Language

Returns or sets a String (string in C#) value that represents the language setting for the view. Read/write.

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

Returns or sets a String (string in C#) value that represents the display name for the object. Read/write.

Parent

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

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

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

SortFields

Returns an OrderFields object that represents the set of fields by which the items displayed in the IconView object are ordered. Read-only.

Standard

Returns a Boolean (bool in C#) value that indicates whether the IconView object is a built-in Outlook view. Read-only.

ViewType

Returns an OlViewType constant that indicates the view type of the view. Read-only.

XML

Returns or sets a String (string in C#) value that specifies the XML definition of the view. Read/write.

Methods

Apply()

Applies the IconView object to the current view.

Copy(String, OlViewSaveOption)

Creates a new View object based on the existing IconView object.

Delete()

Deletes an object from a collection.

GoToDate(DateTime)

Changes the date used by the current view to display information.

Reset()

Resets a built-in Microsoft Outlook view to its original settings.

Save()

Saves the view, or saves the changes to a view.

Applies to