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)
Syntax
'Declaration
Public Function ValueOrDefault ( _
ParamArray indexes As Object() _
) As JsonValue
public JsonValue ValueOrDefault(
params Object[] indexes
)
public:
JsonValue^ ValueOrDefault(
... array<Object^>^ indexes
)
member ValueOrDefault :
indexes:Object[] -> JsonValue
public function ValueOrDefault(
... indexes : Object[]
) : JsonValue
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.