'Usage Dim instance As SPListItem Dim value As SPAttachmentCollection value = instance.Attachments 'Declaration Public ReadOnly Property Attachments As SPAttachmentCollection
The Attachments property does not apply to document libraries and returns an ArgumentOutOfRangeException exception if applied to a document library.