SynchronizedReadOnlyCollection<T>.ICollection<T>.Clear SynchronizedReadOnlyCollection<T>.ICollection<T>.Clear SynchronizedReadOnlyCollection<T>.ICollection<T>.Clear Method

Definition

Throws a NotSupportedException if called.

 virtual void System.Collections.Generic.ICollection<T>.Clear() = System::Collections::Generic::ICollection<T>::Clear;
void ICollection<T>.Clear ();
Sub Clear () Implements ICollection(Of T).Clear

Implements

Exceptions

Items cannot be cleared from a read-only collection.

Remarks

Items cannot be cleared from a read-only collection.

Applies to