IRecipients::Item

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The Item method retrieves a Recipient object from the Recipient List for the Meeting Request.

Syntax

HRESULT Item(
   int iIndex,
   IRecipient ** ppRecipient
);

Parameters

  • iIndex
    [in] The one-based index of the position of the Recipient object in the Recipient List.
  • ppRecipient
    [out] Reference to the IRecipient object.

Return Value

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

  • S_OK
    The method completed successfully.

Remarks

If the value for iIndex is less then zero, or greater than the number of Recipient objects in the Recipient List, then Item returns E_INVALIDARG.

Requirements

Header pimstore.h
Library Pimstore.lib
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Tasks

Creating a Meeting Request

Reference

IRecipient
IPOlRecipient
Pocket Outlook Object Model Interfaces

Other Resources