Читати англійською Редагувати

Поділитися через


JsonObject.GetAt(Int32) Method

Definition

Gets the property of the specified index.

C#
public System.Collections.Generic.KeyValuePair<string,System.Text.Json.Nodes.JsonNode?> GetAt(int index);

Parameters

index
Int32

The zero-based index of the pair to get.

Returns

The property at the specified index as a key/value pair.

Exceptions

index is less than 0 or greater than or equal to Count.

Applies to

Продукт Версії
.NET 8 (package-provided), 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)