Json.NET - Quick Starts & API Documentation
Clear Method
Namespaces ► Newtonsoft.Json.Linq ► JArray ► Clear()()()()
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. |