次の方法で共有


IconView Interface

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

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<CoClassAttribute(GetType(IconViewClass))> _
<GuidAttribute("00063097-0000-0000-C000-000000000046")> _
Public Interface IconView _
    Inherits _IconView
'Usage
Dim instance As IconView
[CoClassAttribute(typeof(IconViewClass))]
[GuidAttribute("00063097-0000-0000-C000-000000000046")]
public interface IconView : _IconView

Remarks

This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _IconView.

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

Reference

IconView Members

Microsoft.Office.Interop.Outlook Namespace