Click or drag to resize
Json.NET Schema

JsonValidatorCanValidate Method

 
Determines whether this instance should validate with the specified JSchema.

Namespace:  Newtonsoft.Json.Schema
Assembly:  Newtonsoft.Json.Schema (in Newtonsoft.Json.Schema.dll) Version: 3.0.6
Syntax
C#
public abstract bool CanValidate(
	JSchema schema
)

Parameters

schema
Type: Newtonsoft.Json.SchemaJSchema
The JSchema.

Return Value

Type: Boolean
true if this instance should validate with the specified JSchema; otherwise, false.
See Also