JsonValue.ValueOrDefault Method (Object[])

[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 indexes.

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

public JsonValue ValueOrDefault(
	params Object[] indexes
)

Parameters

indexes
Type: System.Object[]
The collection of index used.

Return Value

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

Show: