KGy SOFT

JsonValueItem Property (Int32)

KGy SOFT JSON Libraries Help
If the type of this JsonValue is Array and arrayIndex is within the valid bounds, then gets the value at the specified arrayIndex; otherwise, returns Undefined. Just like in JavaScript, using an invalid index returns Undefined.

Namespace:  KGySoft.Json
Assembly:  KGySoft.Json (in KGySoft.Json.dll) Version: 2.0.1
Syntax

public JsonValue this[
	int arrayIndex
] { get; }

Parameters

arrayIndex
Type: SystemInt32
The index of the array element to get.

Return Value

Type: JsonValue
The value at the specified arrayIndex, or Undefined if arrayIndex is invalid or Type is not Array.
See Also

Reference