Свойство List.EnableAttachments
Gets or sets a value that specifies whether list item attachments are enabled for the list.
Пространство имен: Microsoft.SharePoint.Client
Сборки: Microsoft.SharePoint.Client.Silverlight (в Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (в Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (в Microsoft.SharePoint.Client.dll)
Синтаксис
'Декларация
Public Property EnableAttachments As Boolean
Get
Set
'Применение
Dim instance As List
Dim value As Boolean
value = instance.EnableAttachments
instance.EnableAttachments = value
public bool EnableAttachments { get; set; }
Значение свойства
Тип: System.Boolean
Returns Booleantrue if list item attachments are enabled for the list otherwise returns false. The default value is
Исключения
Исключение | Условие |
---|---|
[Microsoft.SharePoint.SPException] | Value is set to true and the list does not support list item attachments. Error code: -2146232832. |