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.5.0.0 (4.5.6.14930)