Partager via


Items Members

Include Protected Members
Include Inherited Members

Contains a collection of Outlook item objects in a folder.

The Items 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 _Items.)
Public property Class Returns an OlObjectClass constant indicating the object's class. Read-only. (Inherited from _Items.)
Public property Count Returns an Integer (int in C#) value indicating the count of objects in the specified collection. Read-only. (Inherited from _Items.)
Public property IncludeRecurrences Returns a Boolean (bool in C#) that indicates True if the Items collection should include recurrence patterns. Read/write. (Inherited from _Items.)
Public property Item Returns an Outlook item from a collection. (Inherited from _Items.)
Public property Parent Returns the parent Object of the specified object. Read-only. (Inherited from _Items.)
Public property RawTable This object, member, or enumeration is deprecated and is not intended to be used in your code. (Inherited from _Items.)
Public property Session Returns the NameSpace object for the current session. Read-only. (Inherited from _Items.)

Top

Methods

  Name Description
Public method Add Creates a new Outlook item in the Items collection for the folder. (Inherited from _Items.)
Public method Find Locates and returns an Outlook item object that satisfies the given Filter. (Inherited from _Items.)
Public method FindNext After the Find method runs, this method finds and returns the next Outlook item in the specified collection. (Inherited from _Items.)
Public method GetFirst Returns the first object in the collection. (Inherited from _Items.)
Public method GetLast Returns the last object in the collection. (Inherited from _Items.)
Public method GetNext Returns the next object in the collection. (Inherited from _Items.)
Public method GetPrevious Returns the previous object in the collection. (Inherited from _Items.)
Public method Remove Removes an object from the collection. (Inherited from _Items.)
Public method ResetColumns Clears the properties that have been cached with the SetColumns method. (Inherited from _Items.)
Public method Restrict Applies a filter to the Items collection, returning a new collection containing all of the items from the original that match the filter. (Inherited from _Items.)
Public method SetColumns Caches certain properties for extremely fast access to those particular properties of an item within the collection. (Inherited from _Items.)
Public method Sort Sorts the collection of items by the specified property. The index for the collection is reset to 1 upon completion of this method. (Inherited from _Items.)

Top

Events

  Name Description
Public event ItemAdd Occurs when one or more items are added to the specified collection. This event does not run when a large number of items are added to the folder at once. (Inherited from ItemsEvents_Event.)
Public event ItemChange Occurs when an item in the specified collection is changed. (Inherited from ItemsEvents_Event.)
Public event ItemRemove Occurs when an item is deleted from the specified collection. This event does not run when the last item in a Personal Folders file (.pst) is deleted, or if 16 or more items are deleted at once from a PST file, Microsoft Exchange mailbox, or an Exchange public folder. (Inherited from ItemsEvents_Event.)

Top

See Also

Reference

Items Interface

Microsoft.Office.Interop.Outlook Namespace