Platform SDK: Exchange 2000 Server

IItem Interface

[This is preliminary documentation and subject to change.]

The IItem interface defines methods and properties used to manage a generic item in a Web Store.

IID
CD000126-8B95-11D1-82DB-00C04FB1625D
Extends
IDispatch

Member Summary

Properties

Name Type Description
ChildCount

[Visual Basic,VBScript]Long

read-only

[C++,IDL] long

The number of items, including subfolders, in a folder.
Configuration

IConfiguration

IConfiguration*

A reference to a Configuration object that defines the configuration information used by the object.
ContentClass

[Visual Basic,VBScript] String

[C++,IDL]BSTR

The content-class for the item.
CreationDate

[Visual Basic,VBScript]Date

read-only

[C++,IDL] DATE*

The date the item was created in the user's local file system or database.
DataSource

IDataSource

[C++,IDL]IDataSource*

Returns the IDataSource interface on the object.
DisplayName

[Visual Basic,VBScript] String

[C++,IDL] BSTR

The display name for the item.
Fields

[Visual Basic,VBScript] ADODB.Fields

[C++,IDL] Fields*

The fields collection for the item.
IsCollection

[Visual Basic,VBScript] Boolean

read-only

[C++,IDL] VARIANT_BOOL*

Specifies whether or not the item is a collection.
IsHidden

[Visual Basic,VBScript] Boolean

[C++,IDL] VARIANT_BOOL

Specifies whether or not the item is hidden to the user.
IsStructuredDocument

[Visual Basic,VBScript] Boolean

read-only

[C++,IDL] VARIANT_BOOL*

Specifies whether or not the item is a structured document.
LastModified

[Visual Basic,VBScript]Date

read-only

[C++,IDL] DATE*

The time that the item was last modified.
ObjectCount

[Visual Basic,VBScript]Long

read-only

[C++,IDL] long

The number of non-folder items in the folder, including any hidden items.
ParentURL

[Visual Basic,VBScript]String

read-only

[C++,IDL] BSTR*

The absolute URL of the parent folder.
VisibleCount

[Visual Basic,VBScript]Long

read-only

[C++,IDL] long

The number of visible non-collection items in the folder.

Methods

Name Description
GetInterface Returns the specified interface on this object.
GetStream Returns the stream for the resource in an ADO Stream (_Stream interface) object.

Remarks

COM classes that provide implementations of the IItem interface can be used to bind and manage any item in a Web Store, including collections (folders) and resources. The properties defined on the interface are common stock 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 IItem.GetStream method can be used to access the associated content stream.

Properties on the interface have identical type and semantic definitions as the corresponding schema property. For example, the IItem.ObjectCount interface property has the same type and semantic definition as the corresponding DAV:objectcount schema property.