Свойство Field.ReadOnlyField
Gets or sets a value that specifies whether the value of the field is read-only.
Пространство имен: 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 ReadOnlyField As Boolean
Get
Set
'Применение
Dim instance As Field
Dim value As Boolean
value = instance.ReadOnlyField
instance.ReadOnlyField = value
public bool ReadOnlyField { get; set; }
Значение свойства
Тип: System.Boolean
Returns Booleantrue if the value of the field is read-only; otherwise, returns false.
Исключения
Исключение | Условие |
---|---|
[System.NotSupportedException] | Value is changed, and the list is an external list. Error code: -1. |