Json.NET Documentation
Json.NET Documentation
API Reference
Newtonsoft.Json.Linq
JArray Class
JArray Methods
Remove Method
Remove Method (JToken)
JArray
Remove Method (JToken)
Removes the first occurrence of a specific object from the
JArray
.
Namespace:
Newtonsoft.Json.Linq
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
Copy
public
bool
Remove
(
JToken
item
)
Parameters
item
Type:
Newtonsoft.Json.Linq
JToken
The object to remove from the
JArray
.
Return Value
Type:
Boolean
true
if
item
was successfully removed from the
JArray
; otherwise,
false
. This method also returns
false
if
item
is not found in the original
JArray
.
Implements
ICollection
T
Remove(T)
See Also
Reference
JArray Class
Remove Overload
Newtonsoft.Json.Linq Namespace
Json.NET Home