Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets a Boolean value that specifies whether attachments can be added to items in the list.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public Property EnableAttachments As Boolean
Get
Set
'Usage
Dim instance As SPList
Dim value As Boolean
value = instance.EnableAttachments
instance.EnableAttachments = value
public bool EnableAttachments { get; set; }
Type: System.Boolean
true if attachments can be added to list items; otherwise, false.
The EnableAttachments property does not apply to any list that has a base type of Survey or DocumentLibrary. If you set this property to true for either type of list, it throws an SPException.
Please sign in to use this experience.
Sign in