This topic has not yet been rated - Rate this topic

SPAttachmentCollection methods

The SPAttachmentCollection type exposes the following members.

  NameDescription
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
  NameDescription
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
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.