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)

public virtual bool TryReadAs(
	Type type,
	out Object value
)

Parameters

type
Type: System.Type
the type.
value
Type: System.Object%
the Json value.

Return Value

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

Show: