Share via


IItem Interface

Topic Last Modified: 2006-06-13

The IItem interface defines methods and properties used to manage a generic item in an Exchange store.

CLSID

CD000126-8B95-11D1-82DB-00C04FB1625D

Extends

IDispatch

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Member Summary

The following table lists the properties of the IItem interface.

Name Description

ChildCount

The number of items, including subfolders, in the folder. This property is read-only.

Configuration

A reference to a Configuration object in which configuration information for the object is defined.

ContentClass

The content class for the item.

CreationDate

The date that the resource was created in the user's local file system or database. This property is read-only.

DataSource

Returns the IDataSource interface on the object. This property is read-only.

DisplayName

The item's display name. This property is read-only.

Fields

The property collection for the object. This property is read-only.

IsCollection

Specifies whether or not the item is a collection. This property is read-only.

IsHidden

Specifies whether or not the item is hidden.

IsStructuredDocument

Specifies whether or not the item is a structured document. This property is read-only.

LastModified

The time that the item was last modified. This property is read-only.

ObjectCount

The number of nonfolder items in a folder, including any hidden items. This property is read-only.

ParentURL

The absolute URL of the item's parent collection. This property is read-only.

VisibleCount

The number of visible noncollection items in the folder. This property is read-only.

The following table lists the methods of the IItem interface.

Name Description

GetInterface

Returns the specified dual interface on the object.

GetStream

Returns the item's content stream.

Remarks

Component Object Model (COM) classes that provide implementations of the IItem interface can be used to bind and manage any item in an Exchange store, including collections (folders) and resources. The properties defined on the interface are common properties defined by the urn:content-classes:item content class, and all store content classes extend this base class.

If the bound item is a stream-based content class, such as urn:content-classes:document or urn:content-classes:message, the GetStream Method can be used to access the associated content stream.

Properties on the interface have type and semantic definitions identical to the corresponding schema property. For example, the ObjectCount Property has the same type and semantic definition as the corresponding objectcount Field.