편집

다음을 통해 공유


JsonArray.Item[Int32] Property

Definition

Gets or sets the element at the specified index.

public:
 property System::Json::JsonValue ^ default[int] { System::Json::JsonValue ^ get(int index); void set(int index, System::Json::JsonValue ^ value); };
public override sealed System.Json.JsonValue this[int index] { get; set; }
member this.Item(int) : System.Json.JsonValue with get, set
Default Public Overrides NotOverridable Property Item(index As Integer) As JsonValue

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