Share via


List.ValidationFormula Property

Gets or sets a value that specifies the data validation criteria for a list item.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Property ValidationFormula As String
    Get
    Set
'Usage
Dim instance As List
Dim value As String

value = instance.ValidationFormula

instance.ValidationFormula = value
[RemoteAttribute]
public string ValidationFormula { get; set; }

Property Value

Type: System.String
Returns a String instance representing the data validation criteria for a list item.

Remarks

It must not be a null reference (Nothing in Visual Basic). Its length must be equal to or less than 1023.

See Also

Reference

List Class

List Members

Microsoft.SharePoint.Client Namespace