Export (0) Print
Expand All

SPAttachmentCollection methods

The SPAttachmentCollection type exposes the following members.

  Name Description
Public method Add Adds the attachment that is represented by the specified file name and byte array to the list item.
Public method 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.
Public method Delete Deletes the attachment with the specified file name from the collection.
Public method DeleteNow Deletes the attachment with the specified file name from the collection without requiring an update to the parent list item.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns an enumerator to iterate through the collection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Recycle Recycles the attachment that is represented by the specified file name.
Public method RecycleNow Recycles the attachment that is represented by the specified file name without requiring an update to the parent list item.
Public method ToString (Inherited from Object.)
Top

  Name Description
Explicit interface implemetation Private method ICollection.CopyTo Copies the elements of the attachment collection to a one-dimensional array, starting at the specified index.
Top
Show:
© 2014 Microsoft