JsonValue.TryReadAs Method (Type, Object%)

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

Indicates whether the JsonValue tries to read as type.

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

Syntax

'Declaration
Public Overridable Function TryReadAs ( _
    type As Type, _
    <OutAttribute> ByRef value As Object _
) As Boolean
public virtual bool TryReadAs(
    Type type,
    out Object value
)
public:
virtual bool TryReadAs(
    Type^ type, 
    [OutAttribute] Object^% value
)
abstract TryReadAs : 
        type:Type * 
        value:Object byref -> bool 
override TryReadAs : 
        type:Type * 
        value:Object byref -> bool 
public function TryReadAs(
    type : Type, 
    value : Object
) : boolean

Parameters

Return Value

Type: System.Boolean
True if the JsonValue tries to read as type; otherwise, false.

.NET Framework Security

See Also

Reference

JsonValue Class

TryReadAs Overload

System.Json Namespace