Share via


EntitySet<TEntity>.Clear Method

Removes all entities from this EntitySet<TEntity>.

Namespace:  Microsoft.SharePoint.Linq
Assembly:  Microsoft.SharePoint.Linq (in Microsoft.SharePoint.Linq.dll)

Syntax

'Declaration
Public Sub Clear
'Usage
Dim instance As EntitySet

instance.Clear()
public void Clear()

Implements

ICollection<T>.Clear()
IList.Clear()

Remarks

If an exception occurs, no entities are removed.

See Also

Reference

EntitySet<TEntity> Class

EntitySet<TEntity> Members

Microsoft.SharePoint.Linq Namespace