Export (0) Print
Expand All

2.2.3.1 Attachments Flag

SharePoint

The Attachments Flag is a 1-byte integer flag that specifies whether an item appears to be an attachment or a folder related to attachments based on this document's URL. The following are valid values for Attachments Flag.

Value

Description

0

The URL does not appear to be an attachment.

1

The URL is an attachment file. The directory name of the document has the string "Attachments" as its next-to-last path segment, and a 32-bit, base-10, signed integer as the last path segment that is referring to the item ID to which this file is attached and where the permissions will be checked (for example, "Announcements/Attachments/17/file1.txt").

2

The URL is a list item attachment folder (for example, "Announcements/Attachments/17").

3

The URL is the list Attachments folder itself. The last path segment of the URL is the string "Attachments" (for example, "Announcements/Attachments").

Show:
© 2015 Microsoft