SPListItem.Attachments Property (Microsoft.SharePoint)
SPListItem.Attachments Property (Microsoft.SharePoint)
Gets the collection of attachments that are associated with the item.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

'Usage

Dim instance As SPListItem
Dim value As SPAttachmentCollection

value = instance.Attachments


'Declaration

Public ReadOnly Property Attachments As SPAttachmentCollection

Property Value

An SPAttachmentCollection object that represents the attachments.
Remarks

The Attachments property does not apply to document libraries and returns an ArgumentOutOfRangeException exception if applied to a document library.

See Also

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View