SPAttachmentCollection methods
SharePoint 2013
The SPAttachmentCollection type exposes the following members.
| Name | Description | |
|---|---|---|
|
Add | Adds the attachment that is represented by the specified file name and byte array to the list item. |
|
AddNow | Adds the attachment that is represented by the specified file name and byte array to the list item without requiring an update to the parent list item. |
|
Delete | Deletes the attachment with the specified file name from the collection. |
|
DeleteNow | Deletes the attachment with the specified file name from the collection without requiring an update to the parent list item. |
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
GetEnumerator | Returns an enumerator to iterate through the collection. |
|
GetHashCode | (Inherited from Object.) |
|
GetType | (Inherited from Object.) |
|
MemberwiseClone | (Inherited from Object.) |
|
Recycle | Recycles the attachment that is represented by the specified file name. |
|
RecycleNow | Recycles the attachment that is represented by the specified file name without requiring an update to the parent list item. |
|
ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
ICollection.CopyTo | Copies the elements of the attachment collection to a one-dimensional array, starting at the specified index. |