Share via


ClientRuntimeContext.ValidateOnClient property

Gets or sets the flag that indicates whether the client library needs to validate the method parameters on the client side.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Public Property ValidateOnClient As Boolean
    Get
    Set
'Usage
Dim instance As ClientRuntimeContext
Dim value As Boolean

value = instance.ValidateOnClient

instance.ValidateOnClient = value
public bool ValidateOnClient { get; set; }

Property value

Type: System.Boolean
true if the client library needs to validate the method parameters on the client side; otherwise, false. The default is true.

See also

Reference

ClientRuntimeContext class

ClientRuntimeContext members

Microsoft.SharePoint.Client namespace