Condividi tramite


JsonArray.RemoveAt Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Remove the JSON value at a specified index of JsonArray.

Namespace:  System.Json
Assembly:  System.Json (in System.Json.dll)

Syntax

'Declaration
Public Sub RemoveAt ( _
    index As Integer _
)
public void RemoveAt(
    int index
)

Parameters

Implements

IList<T>.RemoveAt(Int32)

Exceptions

Exception Condition
ArgumentOutOfRangeException

index is less than zero or index is equal or larger than the size of the array.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.