Click or drag to resize
Json.NET Schema

JSchemaPreloadedResolverAdd Method (Uri, Byte)

 
Adds a byte array for a schema to the JSchemaPreloadedResolver store and maps it to a URI.

Namespace:  Newtonsoft.Json.Schema
Assembly:  Newtonsoft.Json.Schema (in Newtonsoft.Json.Schema.dll) Version: 3.0.6
Syntax
C#
public void Add(
	Uri uri,
	byte[] value
)

Parameters

uri
Type: SystemUri
The URI of the schema that is being added to the JSchemaPreloadedResolver store.
value
Type: SystemByte
The byte array for a schema that corresponds to the provided URI.
See Also