Field.ValidationFormula 属性
Gets or sets a value that specifies the data validation criteria for the value 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 Property ValidationFormula As String
Get
Set
用法
Dim instance As Field
Dim value As String
value = instance.ValidationFormula
instance.ValidationFormula = value
public string ValidationFormula { get; set; }
属性值
类型:System.String
Returns a String instance representing the data validation criteria for the value of the field.
异常
异常 | 条件 |
---|---|
[Microsoft.SharePoint.SPException] | FieldTypeKind is not one of the following: Text, Number, Integer, Currency, Choice, or DateTime. Error code: -2146232832. |