SPAttachmentCollection properties

The SPAttachmentCollection type exposes the following members.

  Name Description
Public property Count Gets the number of attachments in the collection.
Public property IsSynchronized Gets a Boolean value that indicates whether access to the collection is synchronized or thread safe.
Public property Item Gets the file name of the attachment at the specified index in the collection. [C#] In C#, this property is the indexer for the SPAttachmentCollection class.
Public property SyncRoot Gets an object that is used to synchronize access to the collection.
Public property UrlPrefix Gets the URL for the directory that contains the collection.