Attachments element

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Contains the URLs of attachments for a specified list item.

<Attachments>
</Attachments>

Elements and attributes

The following sections describe attributes, child elements, and parent elements.

Attributes

None

Child elements

None

Parent elements

Occurrences

  • Minimum: 0
  • Maximum: 1

Example

The following example shows a SOAP response for the GetAttachmentCollection(String, String) method.

<GetAttachmentCollectionResult>
   <Attachments>
      <Attachment>http://Myoffice.Net/Poster.bmp</Attachment>
      <Attachment>http://Myoffice.Net/Attachment.bmp</Attachment>
      <Attachment>http://Myoffice.Net/Paris.bmp</Attachment>
   <Attachments>
<GetAttachmentCollectionResult>