Partager via


IconView Object (Outlook)

Represents a view that displays Outlook items as a series of labeled icons.

Version Information

Version Added: Outlook 2007

Remarks

The IconView object, derived from the View object, allows you to create customizable views that allow you to display Outlook items as large or small icons, with labels.

Outlook provides several built-in views, and you can also create custom IconView objects. Use the Add method of the Views collection to add a new IconView to a Folder object. Use the Standard property to determine if an existing IconView object is built-in or custom.

The IconView object supports several different view types, depending on the desired layout in which to display Outlook items. Use the IconViewType property to set the view type.

You can also configure how Outlook items appear within the IconView object. Use the IconPlacement property to determine how the icons for Outlook items are arranged within the view. Use the Filter property to determine which Outlook items to display in the view and the SortFields collection to specify the Outlook item properties by which Outlook items are sorted in the view.

The definition for each IconView object is stored in Extensible Markup Language (XML) format. Use the XML property to work with the XML definition for the IconView object.

Use the Apply method to apply any changes made to the IconView object to the current view. Use the Save method to persist any changes made to the IconView object. Use the LockUserChanges property to allow or prevent changes to the user interface for the view.

You can change built-in IconView objects, but you cannot delete them. Use the Delete method to delete a custom IconView object. Use the Reset method to reset the properties of a built-in IconView object to their default values.

See Also

Concepts

Outlook Object Model Reference

IconView Object Members