JsonObject.Clear Method

Silverlight

Removes all key/value pairs from the JSON CLR object.

Namespace:  System.Json
Assembly:  System.Json (in System.Json.dll)

public void Clear()

Implements

ICollection<T>.Clear()

The Count property is set to 0, and references to other objects from elements of the collection are also released. The capacity remains unchanged.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: