[This is preliminary documentation and is subject to change.]

Gets the JToken with the specified key converted to the specified type.

Namespace:  Facebook.Json.Linq
Assembly:  Facebook (in Facebook.dll) Version: 0.2009.3.23 (0.2009.3.23)

Syntax

C#
public virtual T Value<T>(
	Object key
)
Visual Basic (Declaration)
Public Overridable Function Value(Of T) ( _
	key As Object _
) As T
Visual C++
public:
generic<typename T>
virtual T Value(
	Object^ key
)

Parameters

key
Type: System..::.Object
The token key.

Type Parameters

T
The type to convert the token to.

Return Value

The converted token value.

See Also

JToken Class
Facebook.Json.Linq Namespace