Value Method (key)

Json.NET

Json.NET - Quick Starts & API Documentation Value<(Of <(<'T>)>)> Method (key)
NamespacesNewtonsoft.Json.LinqJTokenValue<(Of <<'(T>)>>)(Object)
Gets the JToken with the specified key converted to the specified type.
Declaration Syntax
C# Visual Basic Visual C++
public virtual T Value<T>(
	Object key
)
Public Overridable Function Value(Of T) ( _
	key As Object _
) As T
public:
generic<typename T>
virtual T Value(
	Object^ key
)
Generic Template Parameters
T
The type to convert the token to.
Parameters
key (Object)
The token key.
Return Value
The converted token value.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.0.2.0 (4.0.2.13623)