Field.Update 方法

Commits changed properties of the field.

命名空间:  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 Overridable Sub Update
用法
Dim instance As Field

instance.Update()
public virtual void Update()

异常

异常 条件
[Microsoft.SharePoint.SPException]

Field does not exist. Error code: -2130575340. Changing the type of the field is not supported. Error code: -2130575301. Formula in FieldCalculated.Formula or Data validation criteria in Field.ValidationFormula is not supported. Error code: -2130575295. Formula in FieldCalculated.Formula or Data validation criteria in Field.ValidationFormula refers to a field that is not supported. Error code: -2130575272. Formula in FieldCalculated.Formula or Data validation criteria in Field.ValidationFormula contains a circular reference or a self-reference. Error code: -2130575271. Formula in FieldCalculated.Formula or Data validation criteria in Field.ValidationFormula contains a syntax error. Error code: -2130575270. Formula in FieldCalculated.Formula or Data validation criteria in Field.ValidationFormula refers to a field that does not exist. Error code: -2130575160. Type of the field is changed for an indexed field. Error code: -2130246331. AllowDuplicateValues is set to false on a field that is not an indexed field. Error code: -2130246240. Field is set to not be an indexed field, and AllowDuplicateValues is false. Error code: -2130246239. AllowDuplicateValues is set to false and an existing list item in the list contains duplicate values in the field. Error code: -2130246238. Type of the field is being changed and AllowDuplicateValues of the field is false. Error code: -2130246237. Type of the field is set to Boolean and AllowDuplicateValues is false. Error code: -2130246236. AllowDuplicateValues of the lookup field which is indexed, is set to true. Error code: -2130246223. Total number of fields (2) in the list exceeds the limit. Error code: -2130246219.

[Microsoft.SharePoint.SPQueryThrottledException]

Throttling limit is exceeded by the operation. Error code: -2147024860.

[System.UnauthorizedAccessException]

The current user has insufficient permissions. Error code: -2147024891.

另请参阅

引用

Field 类

Field 成员

Microsoft.SharePoint.Client 命名空间