Свойство 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. |