JsonPrimitive.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 specified object reads as type.

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

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

Parameters

type
Type: System.Type
The specified type.
value
Type: System.Object%
The object to read.

Return Value

Type: System.Boolean
True if the specified object reads as type; otherwise, false.

Show: