Export (0) Print
Expand All

JsonValueExtensions.ReadAsType Method (JsonValue, Type)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Reads the JsonValueExtensions as a type with specified value.

Namespace:  System.Runtime.Serialization.Json
Assembly:  System.Json (in System.Json.dll)

public static Object ReadAsType(
	this JsonValue jsonValue,
	Type type
)

Parameters

jsonValue
Type: System.Json.JsonValue
The Json value.
type
Type: System.Type
The type.

Return Value

Type: System.Object
The read JsonValueExtensions object.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type JsonValue. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Show:
© 2014 Microsoft