Field.ValidationFormula - Propriété
Gets or sets a value that specifies the data validation criteria for the value of the field.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Property ValidationFormula As String
Get
Set
'Utilisation
Dim instance As Field
Dim value As String
value = instance.ValidationFormula
instance.ValidationFormula = value
public string ValidationFormula { get; set; }
Valeur de propriété
Type : System.String
Returns a String instance representing the data validation criteria for the value of the field.
Exceptions
Exception | Condition |
---|---|
[Microsoft.SharePoint.SPException] | FieldTypeKind is not one of the following: Text, Number, Integer, Currency, Choice, or DateTime. Error code: -2146232832. |