Skip to content

JsonPatchDocument.Item Property

Definition

Namespace: Corvus.Text.Json.Patch
Assembly: Corvus.Text.Json.dll

this[int]

Gets the item at the given index.

public JsonPatchDocument.PatchOperation this[int index] { get; }

Parameters

Name Type Description
index int The index at which to retrieve the item.

Returns

JsonPatchDocument.PatchOperation

The item at the given index.

Exceptions

Exception Description
IndexOutOfRangeException The index was outside the bounds of the array.
InvalidOperationException The value is not an array.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue