Compartilhar 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
Assemblies:   Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll);  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