Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the collection of attachments that are associated with the item.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public ReadOnly Property Attachments As SPAttachmentCollection
Get
'Usage
Dim instance As SPListItem
Dim value As SPAttachmentCollection
value = instance.Attachments
public SPAttachmentCollection Attachments { get; }
Type: Microsoft.SharePoint.SPAttachmentCollection
A collection of attachments.
The Attachments property does not apply to document libraries and returns an ArgumentOutOfRangeException exception if applied to a document library.