Item MailArray Property:
Default property. Gets or sets the item value at
the array position index.
Syntax:
[C++]
HRESULT get_Item(long index, VARIANT *pVal);
HRESULT put_Item(long index, VARIANT newVal);
[VB]
Property Item(index As Long) As Variant
Parameter:
index
Zero based item index. If index is
lower than 0 or greater or equal to item count, an error will occur.
Remark:
The Item type depends on the object that expose
IMailArray interface. For example, the
Mail.Attachments
array stores
MailAttachment object
variants, but the
Mail.Tos array stores
string variants.
See also: