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.

Provides access to an individual member of the collection. This property is read-only.

Applies To

IMembers Interface

Type Library

Microsoft CDO Workflow Objects for Microsoft Exchange

DLL Implemented In

CDOWF.DLL

Syntax

[Visual Basic]Property Item(Index As Variant) As IMember

[C++]HRESULT get_Item(VARIANT** IndexIMember** ppMember);

Parameters

  • Index
    Returns the value of the collection index as a reference to a VARIANT.
  • ppMember
    Returned reference to an IMember Interface.

Remarks

varIndex is a string or onebased ordinal number. If it is a string, it represents either an email address or a folder role. Email addresses must be in the form someone@example.com. Valid role identifiers include "Role1", "Role2", ... , "Role16". This is the default property of the IMembers collection so you do not have to reference it explicitly when using the IMembers collection (ItemAuthors or ItemReaders).

Example

This example uses the Item property to determine if the email address is a member of the IWorkflowSession interface, ItemAuthors collection. If the email address is a member of the ItemAuthors collection, the script gives that member exclusive read access to the workflow item.

emAddress = "someone@example.com" if not (WorkflowSession.ItemAuthors(emAddress) is nothing) then WorkflowSession.ItemReaders.Clear WorkflowSession.ItemReaders.Add emAddress end if

See Also

ItemReaders Property

ItemAuthors Property

IMember Interface

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.