Visual Basic (Declaration)
Public Property ReadOnlyField As Boolean
Dim instance As SPField
Dim value As Boolean
value = instance.ReadOnlyField
instance.ReadOnlyField = value
public bool ReadOnlyField { get; set; }
Property Value
true to specify that the field cannot be modified; otherwise,
false.