IMutableJsonDocument.RemoveRange Method
Definition
Namespace: Corvus.Text.Json.Internal
Assembly: Corvus.Text.Json.dll
Source: IMutableJsonDocument.cs
RemoveRange(int, int, int, int)
Removes a range of values from the document.
public abstract void RemoveRange(int complexObjectStartIndex, int startIndex, int endIndex, int membersToRemove)
Parameters
| Name | Type | Description |
|---|---|---|
complexObjectStartIndex |
int |
The start index of the complex object. |
startIndex |
int |
The start index of the range to remove. |
endIndex |
int |
The end index of the range to remove. |
membersToRemove |
int |
The number of members to remove. |
Remarks
This is similar to OverwriteAndDispose, but it does not replace the values that are removed. Instead, it simply removes the specified range of members from the document, effectively shifting subsequent members up.
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