Export (0) Print
Expand All

JsonValue.ValueOrDefault Method (String)

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

Specifies the value or the default value of the Json object with specified key.

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

public virtual JsonValue ValueOrDefault(
	string key
)

Parameters

key
Type: System.String
the key used.

Return Value

Type: System.Json.JsonValue
The value or the default value of the Json object.

Show:
© 2014 Microsoft