コレクション内の指定されたアイテムを戻します。
このメソッドの引数は、数値インデックス (itemNum) または文字列 (name) のいずれでもかまいません。
VBScript
collection.Item (itemNum)
collection.Item (name)
Perl
$collection->Item(itemNum);
$collection->ItemByName(name);
VBScript
' This example assumes there is at least 1 attachment field
' associated with the record.
set currentSession = GetSession
set attachFields = AttachmentFields
set attachField1 = attachFields.Item(0)
set theAttachments = attachField1.Attachments
firstAttachment = theAttachments.Item(0)