PostSharp//API Reference/Post­Sharp.​Patterns.​Collections/Advisable­Collection<T>/Clear
Open sandboxFocus

Method Clear

Clear()

Removes all items from the ICollection<T>.

Declaration
public void Clear()
Exceptions
Type Condition
NotSupportedException

The ICollection<T> is read-only.