Clear Method

Json.NET

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

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.0.2.0 (4.0.2.13623)