IEditorOption<T>.GetValue(JToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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