JsonPrimitive.ReadAs Method (Type)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Reads the specified JsonPrimitive as type.
Namespace: System.Json
Assembly: System.Json (in System.Json.dll)
Syntax
'Declaration
Public Overrides Function ReadAs ( _
type As Type _
) As Object
public override Object ReadAs(
Type type
)
public:
virtual Object^ ReadAs(
Type^ type
) override
abstract ReadAs :
type:Type -> Object
override ReadAs :
type:Type -> Object
public override function ReadAs(
type : Type
) : Object
Parameters
- type
Type: System.Type
The object to read.
Return Value
Type: System.Object
The specified object as type.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.