Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

JsonObject.RemoveAt(Int32) Method

Definition

Namespace:
System.Text.Json.Nodes
Assembly:
System.Text.Json.dll
Package:
System.Text.Json v11.0.0-preview.5.26302.115
Source:
JsonObject.IList.cs
Source:
JsonObject.IList.cs
Source:
JsonObject.IList.cs
Source:
JsonObject.IList.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Removes the property at the specified index.

public:
 void RemoveAt(int index);
public void RemoveAt(int index);
member this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)

Parameters

index
Int32

The zero-based index of the item to remove.

Implements

Exceptions

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

Applies to


Feedback

Was this page helpful?