DataServiceCollection<T>.Clear Method (Boolean)
Removes all items from the collection, and optionally detaches all the items from the DataServiceContext.
Assembly: System.Data.Services.Client (in System.Data.Services.Client.dll)
'Declaration Public Sub Clear ( _ stopTracking As Boolean _ )
public void Clear( bool stopTracking )
When an item is detached, all related objects in the data graph are also detached from the DataServiceContext.
Supported in: 5, 4
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.