EditorOption<T,S>.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 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