Devuelve el elemento especificado en la recopilación.
El argumento para este método puede ser un índice numérico (númElem) o un String (nombre).
VBScript
collection.Item(númElem) collection.Item(nombre)
Perl
$collection->Item(númElem); $collection->ItemByName(nombre);
VBScript
' En este ejemplo se da por supuesto que hay, como mínimo, ' 1 campo de archivo de datos adjuntos ' asociado al registro. set currentSession = GetSession set attachFields = AttachmentFields set attachField1 = attachFields.Item(0) set theAttachments = attachField1.Attachments firstAttachment = theAttachments.Item(0)