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 value that specifies whether the value of the field is read-only.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Property ReadOnlyField As Boolean
Get
Set
'Usage
Dim instance As Field
Dim value As Boolean
value = instance.ReadOnlyField
instance.ReadOnlyField = value
public bool ReadOnlyField { get; set; }
Property value
Type: System.Boolean
Returns Booleantrue if the value of the field is read-only; otherwise, returns false.
Exceptions
| Exception | Condition |
|---|---|
| [System.NotSupportedException] | Value is changed, and the list is an external list. Error code: -1. |