DataServiceCollection<T>.Clear Method

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Clear() Removes all elements from the Collection<T>. (Inherited from Collection<T>.)
Public method Clear(Boolean) Removes all items from the collection, and optionally detaches all the items from the DataServiceContext.

Community Additions