Share via


Item Property

Item Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Returns the specified Message object from the collection. This property is read-only.

Applies To

IMessages Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

[Visual Basic]Property Item(Index As Long) As CDO.Message

[C++]HRESULT get_Item(long IndexIMessage** ppMessage);

Parameters

  • Index
    Returns the value of the collection index as a reference to a long.
  • ppMessage
    Returned reference to an IMessage Interface.

Remarks

The Item property is intended for use with For loops, or to retrieve a specific Message object in the collection. If you want to enumerate the collection, you can use the _NewEnum property in the standard way. With Microsoft Visual Basic, use of this property is automatic within For Each In constructs.

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.