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. |