JsonArray.Remove Method

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

Removes the first occurrence of the specified JSON value from the array.

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

Syntax

'Declaration
Public Function Remove ( _
    item As JsonValue _
) As Boolean
public bool Remove(
    JsonValue item
)

Parameters

Return Value

Type: System.Boolean
true if item is successfully removed; otherwise, false. This method also returns false if item was not found in the JsonArray.

Implements

ICollection<T>.Remove(T)

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.