Json.NET - Quick Starts & API Documentation
Clear Method
NamespacesNewtonsoft.Json.LinqJArrayClear()()()
Removes all items from the ICollection<(Of <(T>)>).
Declaration Syntax
C#Visual BasicVisual C++
public void Clear()
Public Sub Clear
public:
virtual void Clear() sealed
Exceptions
ExceptionCondition
NotSupportedExceptionThe ICollection<(Of <(T>)>) is read-only.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 3.5.0.0 (3.5.0.0)