Edit

Share via


JsonObject.GetAt(Int32) Method

Definition

Gets the property of the specified index.

public:
 System::Collections::Generic::KeyValuePair<System::String ^, System::Text::Json::Nodes::JsonNode ^> GetAt(int index);
public System.Collections.Generic.KeyValuePair<string,System.Text.Json.Nodes.JsonNode?> GetAt (int index);
member this.GetAt : int -> System.Collections.Generic.KeyValuePair<string, System.Text.Json.Nodes.JsonNode>
Public Function GetAt (index As Integer) As KeyValuePair(Of String, JsonNode)

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