EditorOption<T,S>.GetValue(JToken) Method

Definition

Converts a JToken to the option value type.

public virtual T? GetValue (Newtonsoft.Json.Linq.JToken jsonToken);
abstract member GetValue : Newtonsoft.Json.Linq.JToken -> 'T
override this.GetValue : Newtonsoft.Json.Linq.JToken -> 'T
Public Overridable Function GetValue (jsonToken As JToken) As T

Parameters

jsonToken
Newtonsoft.Json.Linq.JToken

JsonToken retrieved from editor option APIs.

Returns

T

Implements

Applies to