Platform SDK: Exchange 2000 Server

Item CoClass

[This is preliminary documentation and subject to change.]

Provides a generic implementation of any resource in the Microsoft® Exchange 2000 Server Web Store.

CLSID
CD000112-8B95-11D1-82DB-00C04FB1625D
ProgID
CDO.Item
Type Library
Microsoft CDO for Microsoft Exchange Library
Inproc Server
CDOEX.DLL
Threading Model
Both

Implemented Interfaces

IDataSource

IItem

OLE DB Row Access

Supported IDataSource Bindings

IDataSource method Target argument Content class
Open Web Store item URL All content classes
OpenObject IRow
_Record
IStream
_Stream
IBodyPart
All content classes
SaveTo Web Store item URL N/A
SaveToContainer Web Store folder URL N/A
SaveToObject IRow
_Record
IStream
_Stream
IBodyPart
N/A

Remarks

You can use this class to open any folder or item as a generic CDO Configuration object, regardless of its content-class.

Similar to an ADO Record object, an Item object provides access to streams and schema fields; it has convenient access to CDO Configuration objects and fields collections. Core item schema properties are also properties on the IItem interface.

Example

This code example opens an Item object from the URL of a valid ADO.Record object.

[Visual Basic]
'Assume oRec is a ADO Record object

Dim oI As New CDO.item
oI.DataSource.Open oRec.Source
Debug.Print oI.DisplayName