Share via


IEditorOption<T>.GetValue(JToken) Method

Definition

Converts a JToken to the option value type.

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

Parameters

jsonToken
Newtonsoft.Json.Linq.JToken

JsonToken retrieved from editor option APIs.

Returns

T

Applies to