EnableAttachments Property

The EnableAttachments property of the SPList class gets or sets a Boolean value that specifies whether attachments can be added to items in the list.

Property Value

true if attachments can be added to list items; otherwise, false.

Remarks

The EnableAttachments property does not apply to any list whose base type is Survey or DocumentLibrary. Setting this property to true for either kind of list throws an SPException exception.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security