JsonValue.ReadAs Method (Type, Object)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Reads the Jsonvalue with specified type.
Namespace: System.Json
Assembly: System.Json (in System.Json.dll)
Syntax
'Declaration
Public Function ReadAs ( _
type As Type, _
fallback As Object _
) As Object
public Object ReadAs(
Type type,
Object fallback
)
public:
Object^ ReadAs(
Type^ type,
Object^ fallback
)
member ReadAs :
type:Type *
fallback:Object -> Object
public function ReadAs(
type : Type,
fallback : Object
) : Object
Parameters
- type
Type: System.Type
The type of the value.
- fallback
Type: System.Object
The fallback.
Return Value
Type: System.Object
The read value.
.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.