Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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


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

Return Value

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

© 2015 Microsoft