JsonArray.Item[Int32] Property

Definition

Gets or sets the element at the specified index.

C#
public override sealed System.Json.JsonValue this[int index] { get; set; }

Parameters

index
Int32

The zero-based index of the element to get or set.

Property Value

The element at the specified index.

Implements

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Product Versions
.NET 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)