다음을 통해 공유


Attachments Element

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Contains the URLs of attachments for a specified list item.

<Attachments>
</Attachments>

Attributes

Attribute

Description

None

N/A

Child Elements

Element

Description

None

N/A

Parent Elements

RenderPattern

Occurrences

Minimum: 0

Maximum: 1

Example

The following example specifies that attachments are part of the render pattern for both the display mode and the edit mode in the definition of the Attachments field type.

<RenderPattern Name="DisplayPattern" DisplayName="DisplayPattern">
   <Attachments/>
</RenderPattern>
<RenderPattern Name="EditPattern" DisplayName="EditPattern">
   <Attachments/>
</RenderPattern>

The following example shows a SOAP response for the GetAttachmentCollection 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>