This documentation is archived and is not being maintained.

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.

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.