次の方法で共有


JsonCreationConverter<T>.Create(Type, JObject) Method

Definition

Create an instance of objectType, based on properties in the JSON object

protected abstract T Create (Type objectType, Newtonsoft.Json.Linq.JObject jObject);
abstract member Create : Type * Newtonsoft.Json.Linq.JObject -> 'T
Protected MustOverride Function Create (objectType As Type, jObject As JObject) As T

Parameters

objectType
Type

Type of the object.

jObject
Newtonsoft.Json.Linq.JObject

Contents of JSON object that will be deserialized.

Returns

T

Returns object of type.

Applies to