ClientRuntimeContext.ValidateOnClient 属性
Gets or sets the flag that indicates whether the client library needs to validate the method parameters on the client side.
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client.Silverlight.Runtime(位于 Microsoft.SharePoint.Client.Silverlight.Runtime.dll 中); Microsoft.SharePoint.Client.Phone.Runtime(位于 Microsoft.SharePoint.Client.Phone.Runtime.dll 中) Microsoft.SharePoint.Client.Runtime(位于 Microsoft.SharePoint.Client.Runtime.dll 中)
语法
声明
Public Property ValidateOnClient As Boolean
Get
Set
用法
Dim instance As ClientRuntimeContext
Dim value As Boolean
value = instance.ValidateOnClient
instance.ValidateOnClient = value
public bool ValidateOnClient { get; set; }
属性值
类型:System.Boolean
true if the client library needs to validate the method parameters on the client side; otherwise, false. The default is true.