Spread WPF Documentation
Clear Method (NotifyCollectionBase<T>)


Removes all items from this collection.
Syntax
'Declaration
 
Public Overridable Sub Clear() 
'Usage
 
Dim instance As NotifyCollectionBase(Of T)
 
instance.Clear()
public virtual void Clear()
Exceptions
ExceptionDescription
System.NotSupportedExceptionThe collection is read-only.
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

NotifyCollectionBase<T> Class
NotifyCollectionBase<T> Members

 

 


Copyright © GrapeCity, inc. All rights reserved.